From: Daniel Rahn Date: Fri, 6 Jun 2008 07:42:36 +0000 (+0200) Subject: x86: correctly report NR_BANKS in mce_64.c X-Git-Tag: v2.6.27-rc1~1106^2~251^16~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4b3bd96f26586e53ab5482f1869221dd1b5ac36;p=pandora-kernel.git x86: correctly report NR_BANKS in mce_64.c attached is a no-brainer that makes kernel correctly report NR_BANKS for MCE. We are right now limited to NR_BANKS==6, but the error message will use the available number of banks instead of the defined maximum. For a Nehalem based system it will print: "MCE: warning: using only 9 banks" while the correct message would be "MCE: warning: using only 6 banks" Signed-off-by: Pavel Machek Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed