diff options
author | Chuck Ebbert <76306.1226@compuserve.com> | 2006-03-25 10:30:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 12:10:56 -0500 |
commit | 5b922cd429675059f7a7798f7a0b3898c38dc070 (patch) | |
tree | 247064f8a708c87429090597c83a0bb93fbb3fdf /arch/x86_64/kernel/io_apic.c | |
parent | 2ab7f1833baf0f0a0ca9868ee21f8273e2858132 (diff) |
[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
does.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/io_apic.c')
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index db7db1e36504..77b4c608cca0 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c | |||
@@ -1848,7 +1848,7 @@ static inline void check_timer(void) | |||
1848 | */ | 1848 | */ |
1849 | setup_ExtINT_IRQ0_pin(apic2, pin2, vector); | 1849 | setup_ExtINT_IRQ0_pin(apic2, pin2, vector); |
1850 | if (timer_irq_works()) { | 1850 | if (timer_irq_works()) { |
1851 | printk("works.\n"); | 1851 | apic_printk(APIC_VERBOSE," works.\n"); |
1852 | nmi_watchdog_default(); | 1852 | nmi_watchdog_default(); |
1853 | if (nmi_watchdog == NMI_IO_APIC) { | 1853 | if (nmi_watchdog == NMI_IO_APIC) { |
1854 | setup_nmi(); | 1854 | setup_nmi(); |
@@ -1860,7 +1860,7 @@ static inline void check_timer(void) | |||
1860 | */ | 1860 | */ |
1861 | clear_IO_APIC_pin(apic2, pin2); | 1861 | clear_IO_APIC_pin(apic2, pin2); |
1862 | } | 1862 | } |
1863 | printk(" failed.\n"); | 1863 | apic_printk(APIC_VERBOSE," failed.\n"); |
1864 | 1864 | ||
1865 | if (nmi_watchdog == NMI_IO_APIC) { | 1865 | if (nmi_watchdog == NMI_IO_APIC) { |
1866 | printk(KERN_WARNING "timer doesn't work through the IO-APIC - disabling NMI Watchdog!\n"); | 1866 | 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) | |||
1875 | enable_8259A_irq(0); | 1875 | enable_8259A_irq(0); |
1876 | 1876 | ||
1877 | if (timer_irq_works()) { | 1877 | if (timer_irq_works()) { |
1878 | apic_printk(APIC_QUIET, " works.\n"); | 1878 | apic_printk(APIC_VERBOSE," works.\n"); |
1879 | return; | 1879 | return; |
1880 | } | 1880 | } |
1881 | apic_write(APIC_LVT0, APIC_LVT_MASKED | APIC_DM_FIXED | vector); | 1881 | apic_write(APIC_LVT0, APIC_LVT_MASKED | APIC_DM_FIXED | vector); |