]> git.baikalelectronics.ru Git - kernel.git/commit
x86: adjust enable_NMI_through_LVT0()
authorJan Beulich <jbeulich@novell.com>
Wed, 30 Jan 2008 12:31:24 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:24 +0000 (13:31 +0100)
commit7c3241574d531ef1ed9957f954ed92fa9ceefd7c
treee3711fd58a2a6f12a6b09087832468776e3c19e3
parentc2132e0e7e2f847f37caec8a12ca9ee12b51812b
x86: adjust enable_NMI_through_LVT0()

Its previous use in a call to on_each_cpu() was pointless, as at the
time that code gets executed only one CPU is online. Further, the
function can be __cpuinit, and for this to work without
CONFIG_HOTPLUG_CPU setup_nmi() must also get an attribute (this one
can even be __init; on 64-bits check_timer() also was lacking that
attribute).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/io_apic_64.c
arch/x86/kernel/smpboot_32.c
arch/x86/kernel/smpboot_64.c
include/asm-x86/apic.h