]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: call check_nmi_watchdog explicitly in native_smp_cpus_done
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 19 Mar 2008 17:25:37 +0000 (14:25 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:01 +0000 (17:41 +0200)
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>
arch/x86/kernel/nmi_32.c
arch/x86/kernel/smpboot_32.c

index 1673851557658783726440189f790d9f88775f76..9cfc094eddb0cea59c2adcb9fc66f5662e054e66 100644 (file)
@@ -129,8 +129,6 @@ int __init check_nmi_watchdog(void)
        kfree(prev_nmi_count);
        return 0;
 }
-/* This needs to happen later in boot so counters are working */
-late_initcall(check_nmi_watchdog);
 
 static int __init setup_nmi_watchdog(char *str)
 {
index bfdfe3c64d06d35017a84ed15150b8ec18ceccab..1f3aff4caaf7baa60d571b218f439ee8b59128a8 100644 (file)
@@ -963,5 +963,6 @@ void __init native_smp_cpus_done(unsigned int max_cpus)
 #ifdef CONFIG_X86_IO_APIC
        setup_ioapic_dest();
 #endif
+       check_nmi_watchdog();
        zap_low_mappings();
 }