x86, NMI: Allow NMI reason io port (0x61) to be processed on any CPU
authorDon Zickus <dzickus@redhat.com>
Thu, 6 Jan 2011 21:18:51 +0000 (16:18 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Jan 2011 14:08:53 +0000 (15:08 +0100)
commitab846f13f69fa64f8ed69ce0c3e239e075910d23
tree737dbe8e6c0fbbdef041cce46b040a606435121b
parentc410b8307702c1e1f35be3fd868ad18e4ba0410f
x86, NMI: Allow NMI reason io port (0x61) to be processed on any CPU

In original NMI handler, NMI reason io port (0x61) is only processed
on BSP.  This makes it impossible to hot-remove BSP.  To solve the
issue, a raw spinlock is used to allow the port to be processed on any
CPU.

Originally-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1294348732-15030-6-git-send-email-dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps.c