perf_counter, x86: Fix lapic printk message
authorIngo Molnar <[email protected]>
Tue, 11 Aug 2009 08:47:36 +0000 (10:47 +0200)
committerIngo Molnar <[email protected]>
Tue, 11 Aug 2009 08:58:25 +0000 (10:58 +0200)
Instead of this garbled bootup on UP Pentium-M systems:

[    0.015048] Performance Counters:
[    0.016004] no Local APIC, try rebooting with lapicno PMU driver, software counters only.

Print:

[    0.015050] Performance Counters:
[    0.016004] no APIC, boot with the "lapic" boot parameter to force-enable it.
[    0.017003] no PMU driver, software counters only.

Cf: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/perf_counter.c

index a7aa8f900954811e046f397547a19e88291aaeb3..40e233a24d9f305d20900b4aa08b920362c63c59 100644 (file)
@@ -1590,7 +1590,7 @@ static int p6_pmu_init(void)
        }
 
        if (!cpu_has_apic) {
-               pr_info("no Local APIC, try rebooting with lapic");
+               pr_info("no APIC, boot with the \"lapic\" boot parameter to force-enable it.\n");
                return -ENODEV;
        }