x86, mce, cmci: use polled banks bitmap in machine check poller
authorAndi Kleen <andi@firstfloor.org>
Thu, 12 Feb 2009 12:49:34 +0000 (13:49 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 24 Feb 2009 21:26:05 +0000 (13:26 -0800)
commitee031c31d6381d004bfd386c2e45821211507499
tree91f5dd04b594bccae8e89eb52dff4ba0eea5041e
parent8457c84d68678cbfd4167a9073b89da58e48c037
x86, mce, cmci: use polled banks bitmap in machine check poller

Define a per cpu bitmap that contains the banks polled by the machine
check poller. This is needed for the CMCI code in the next patches
to be able to disable polling on specific banks.

The bank by default contains all banks, so there is no behaviour
change. Only future code will remove some banks from the polling
set.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce_64.c
arch/x86/kernel/cpu/mcheck/mce_amd_64.c