aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-06-24 16:52:04 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 06:51:39 -0400
commit116f570e5d8347bee2614da2361eeadbb639ea50 (patch)
tree6c30b6bfdd88e53e9853100651a7266dd983626e /arch/x86/kernel
parent47a486cc110fe77518c79a566b50a5c785c813ae (diff)
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>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/apic_32.c2
-rw-r--r--arch/x86/kernel/apic_64.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 4932d7813bcd..b5571fb0f77e 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -550,7 +550,7 @@ void __init setup_boot_APIC_clock(void)
550 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; 550 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY;
551 else 551 else
552 printk(KERN_WARNING "APIC timer registered as dummy," 552 printk(KERN_WARNING "APIC timer registered as dummy,"
553 " due to nmi_watchdog=1!\n"); 553 " due to nmi_watchdog=%d!\n", nmi_watchdog);
554 } 554 }
555 555
556 /* Setup the lapic or request the broadcast */ 556 /* Setup the lapic or request the broadcast */
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c
index 5279dc924381..8c751f731bca 100644
--- a/arch/x86/kernel/apic_64.c
+++ b/arch/x86/kernel/apic_64.c
@@ -417,7 +417,7 @@ void __init setup_boot_APIC_clock(void)
417 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; 417 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY;
418 else 418 else
419 printk(KERN_WARNING "APIC timer registered as dummy," 419 printk(KERN_WARNING "APIC timer registered as dummy,"
420 " due to nmi_watchdog=1!\n"); 420 " due to nmi_watchdog=%d!\n", nmi_watchdog);
421 421
422 setup_APIC_timer(); 422 setup_APIC_timer();
423} 423}