Re: [patch] correctly report NR_BANKS in mce_64.c

From: Ingo Molnar
Date: Wed Jun 18 2008 - 04:31:56 EST



* Pavel Machek <pavel@xxxxxxx> wrote:

> From: Daniel Rahn <Daniel.Rahn@xxxxxxxxxx>
>
> 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 <pavel@xxxxxxx>

applied to tip/x86/mce, thanks Pavel.

[ There was a recent crossing commit that made your patch not apply
cleanly (8edc5cc5ec8 from May 12), i fixed up the impact manually. ]

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/