Re: [PATCH v2 1/2] x86/mce: Replace shared_bank array with is_shared_bank() helper

2013-03-14 Thread Borislav Petkov
On Thu, Mar 14, 2013 at 03:20:05PM -0700, Greg KH wrote: > On Thu, Mar 14, 2013 at 05:10:40PM -0400, Boris Ostrovsky wrote: > > Use helper function instead of an array to report whether register > > bank is shared. Currently only bank 4 (northbridge) is shared. > > > > Signed-off-by: Boris Ostrovs

Re: [PATCH v2 1/2] x86/mce: Replace shared_bank array with is_shared_bank() helper

2013-03-14 Thread Greg KH
On Thu, Mar 14, 2013 at 05:10:40PM -0400, Boris Ostrovsky wrote: > Use helper function instead of an array to report whether register > bank is shared. Currently only bank 4 (northbridge) is shared. > > Signed-off-by: Boris Ostrovsky > --- > arch/x86/kernel/cpu/mcheck/mce_amd.c | 17 +---

[PATCH v2 1/2] x86/mce: Replace shared_bank array with is_shared_bank() helper

2013-03-14 Thread Boris Ostrovsky
Use helper function instead of an array to report whether register bank is shared. Currently only bank 4 (northbridge) is shared. Signed-off-by: Boris Ostrovsky --- arch/x86/kernel/cpu/mcheck/mce_amd.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/x86