x86: nmi_watchdog - use nmi_watchdog variable for printing

Since it is possible NMI_ definitions could be changed
one day we better print out real nmi_watchdog value instead
of constant string.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: macro@linux-mips.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Cyrill Gorcunov 2008-06-24 22:52:04 +02:00 committed by Ingo Molnar
parent 47a486cc11
commit 116f570e5d
2 changed files with 2 additions and 2 deletions

View File

@ -550,7 +550,7 @@ void __init setup_boot_APIC_clock(void)
lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY;
else else
printk(KERN_WARNING "APIC timer registered as dummy," printk(KERN_WARNING "APIC timer registered as dummy,"
" due to nmi_watchdog=1!\n"); " due to nmi_watchdog=%d!\n", nmi_watchdog);
} }
/* Setup the lapic or request the broadcast */ /* Setup the lapic or request the broadcast */

View File

@ -417,7 +417,7 @@ void __init setup_boot_APIC_clock(void)
lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY;
else else
printk(KERN_WARNING "APIC timer registered as dummy," printk(KERN_WARNING "APIC timer registered as dummy,"
" due to nmi_watchdog=1!\n"); " due to nmi_watchdog=%d!\n", nmi_watchdog);
setup_APIC_timer(); setup_APIC_timer();
} }