diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-01-30 07:31:24 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:24 -0500 |
commit | e94271017f0933b29362a3c9dea5a6b9d04d98e1 (patch) | |
tree | e3711fd58a2a6f12a6b09087832468776e3c19e3 /include/asm-x86/apic.h | |
parent | cae4595764cb3b08f6517e99bac1e3862854b1a1 (diff) |
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>
Diffstat (limited to 'include/asm-x86/apic.h')
-rw-r--r-- | include/asm-x86/apic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/apic.h b/include/asm-x86/apic.h index 72bf09cf13ab..bcfc07fd3661 100644 --- a/include/asm-x86/apic.h +++ b/include/asm-x86/apic.h | |||
@@ -117,7 +117,7 @@ extern void init_apic_mappings(void); | |||
117 | extern void setup_boot_APIC_clock(void); | 117 | extern void setup_boot_APIC_clock(void); |
118 | extern void setup_secondary_APIC_clock(void); | 118 | extern void setup_secondary_APIC_clock(void); |
119 | extern int APIC_init_uniprocessor(void); | 119 | extern int APIC_init_uniprocessor(void); |
120 | extern void enable_NMI_through_LVT0(void *dummy); | 120 | extern void enable_NMI_through_LVT0(void); |
121 | 121 | ||
122 | /* | 122 | /* |
123 | * On 32bit this is mach-xxx local | 123 | * On 32bit this is mach-xxx local |