diff options
author | Shaohua Li <shaohua.li@intel.com> | 2005-12-12 22:17:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-12 22:31:16 -0800 |
commit | 5e9ef02ec00c70840661d174dc2f4862db471bb6 (patch) | |
tree | 037db38d2f476f71210b7c64eb2bcd2f74aa1486 /arch/x86_64 | |
parent | 68e188911263adb06e28fa2c9dc9e017774de68d (diff) | |
download | linux-5e9ef02ec00c70840661d174dc2f4862db471bb6.tar.gz linux-5e9ef02ec00c70840661d174dc2f4862db471bb6.tar.bz2 linux-5e9ef02ec00c70840661d174dc2f4862db471bb6.zip |
[PATCH] i386/x86-64 disable LAPIC completely for offline CPU
Disabling LAPIC timer isn't sufficient. In some situations, such as we
enabled NMI watchdog, there is still unexpected interrupt (such as NMI)
invoked in offline CPU. This also avoids offline CPU receives spurious
interrupt and anything similar.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: "Seth, Rohit" <rohit.seth@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index 683c33f7b967..ecbd7b83acc1 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c @@ -1181,7 +1181,7 @@ int __cpu_disable(void) if (cpu == 0) return -EBUSY; - disable_APIC_timer(); + clear_local_APIC(); /* * HACK: |