Commit 5b922cd4 authored by Chuck Ebbert's avatar Chuck Ebbert Committed by Linus Torvalds
Browse files

[PATCH] x86_64: fix orphaned bits of timer init messages

When x86_64 timer init messages were changed to use apic verbosity
levels, two messages were missed and one got the wrong level.  This
causes the last word of a suppressed message to print on a line by
itself.  Fix that so either the entire message prints or none of it
Signed-off-by: default avatarChuck Ebbert <>
Signed-off-by: default avatarAndi Kleen <>
Signed-off-by: default avatarLinus Torvalds <>
parent 2ab7f183
......@@ -1848,7 +1848,7 @@ static inline void check_timer(void)
setup_ExtINT_IRQ0_pin(apic2, pin2, vector);
if (timer_irq_works()) {
apic_printk(APIC_VERBOSE," works.\n");
if (nmi_watchdog == NMI_IO_APIC) {
......@@ -1860,7 +1860,7 @@ static inline void check_timer(void)
clear_IO_APIC_pin(apic2, pin2);
printk(" failed.\n");
apic_printk(APIC_VERBOSE," failed.\n");
if (nmi_watchdog == NMI_IO_APIC) {
printk(KERN_WARNING "timer doesn't work through the IO-APIC - disabling NMI Watchdog!\n");
......@@ -1875,7 +1875,7 @@ static inline void check_timer(void)
if (timer_irq_works()) {
apic_printk(APIC_QUIET, " works.\n");
apic_printk(APIC_VERBOSE," works.\n");
apic_write(APIC_LVT0, APIC_LVT_MASKED | APIC_DM_FIXED | vector);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment