diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-02-12 07:49:34 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-02-24 16:26:05 -0500 |
commit | ee031c31d6381d004bfd386c2e45821211507499 (patch) | |
tree | 91f5dd04b594bccae8e89eb52dff4ba0eea5041e /arch/x86/kernel/cpu/mcheck/mce_amd_64.c | |
parent | 8457c84d68678cbfd4167a9073b89da58e48c037 (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/mce_amd_64.c')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce_amd_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_amd_64.c b/arch/x86/kernel/cpu/mcheck/mce_amd_64.c index 49705be98209..ee8bfcd3aa32 100644 --- a/arch/x86/kernel/cpu/mcheck/mce_amd_64.c +++ b/arch/x86/kernel/cpu/mcheck/mce_amd_64.c | |||
@@ -231,7 +231,8 @@ static void amd_threshold_interrupt(void) | |||
231 | 231 | ||
232 | /* Log the machine check that caused the threshold | 232 | /* Log the machine check that caused the threshold |
233 | event. */ | 233 | event. */ |
234 | machine_check_poll(MCP_TIMESTAMP); | 234 | machine_check_poll(MCP_TIMESTAMP, |
235 | &__get_cpu_var(mce_poll_banks)); | ||
235 | 236 | ||
236 | if (high & MASK_OVERFLOW_HI) { | 237 | if (high & MASK_OVERFLOW_HI) { |
237 | rdmsrl(address, m.misc); | 238 | rdmsrl(address, m.misc); |