Re: [PATCH RESEND 4/5] x86/MCE: Make number of MCA banks per_cpu
From: Luck, Tony
Date: Mon Apr 08 2019 - 19:23:28 EST
On Mon, Apr 08, 2019 at 10:48:34PM +0000, Ghannam, Yazen wrote:
> Okay, so drop the export and leave the injector code as-is (it's
> already doing a rdmsrl_on_cpu()).
It's still a globally visible symbol (shared by core.c and amd.c).
So I think it needs a "mce_" prefix.
While it doesn't collide now, there are a bunch of other
subsystems that have "banks" and a variable to count them.
Look at output from "git grep -w num_banks".
-Tony