diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-03-19 13:25:37 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:01 -0400 |
commit | 4626df1801dc03de42f1c155417393b91c8f5d97 (patch) | |
tree | 9ace1e8790a742378c166de1d36c09a11b912437 | |
parent | 6d60cd5359e261cad1e519e77ca733c05c2f8025 (diff) |
x86: call check_nmi_watchdog explicitly in native_smp_cpus_done
With this, remove its late_initcall marker from nmi_32.c
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/nmi_32.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/smpboot_32.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/nmi_32.c b/arch/x86/kernel/nmi_32.c index 167385155765..9cfc094eddb0 100644 --- a/arch/x86/kernel/nmi_32.c +++ b/arch/x86/kernel/nmi_32.c | |||
@@ -129,8 +129,6 @@ int __init check_nmi_watchdog(void) | |||
129 | kfree(prev_nmi_count); | 129 | kfree(prev_nmi_count); |
130 | return 0; | 130 | return 0; |
131 | } | 131 | } |
132 | /* This needs to happen later in boot so counters are working */ | ||
133 | late_initcall(check_nmi_watchdog); | ||
134 | 132 | ||
135 | static int __init setup_nmi_watchdog(char *str) | 133 | static int __init setup_nmi_watchdog(char *str) |
136 | { | 134 | { |
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index bfdfe3c64d06..1f3aff4caaf7 100644 --- a/arch/x86/kernel/smpboot_32.c +++ b/arch/x86/kernel/smpboot_32.c | |||
@@ -963,5 +963,6 @@ void __init native_smp_cpus_done(unsigned int max_cpus) | |||
963 | #ifdef CONFIG_X86_IO_APIC | 963 | #ifdef CONFIG_X86_IO_APIC |
964 | setup_ioapic_dest(); | 964 | setup_ioapic_dest(); |
965 | #endif | 965 | #endif |
966 | check_nmi_watchdog(); | ||
966 | zap_low_mappings(); | 967 | zap_low_mappings(); |
967 | } | 968 | } |