perf_counter, x86: clean up throttling printk
authorMike Galbraith <efault@gmx.de>
Sun, 10 May 2009 08:53:05 +0000 (10:53 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 May 2009 10:04:30 +0000 (12:04 +0200)
s/PERFMON/perfcounters for perfcounter interrupt throttling warning.

'perfmon' is the CPU feature name that is Intel-only, while we do
throttling in a generic way.

[ Impact: cleanup ]

Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c

index a6878b0..da27419 100644 (file)
@@ -814,7 +814,7 @@ void perf_counter_unthrottle(void)
        cpuc = &__get_cpu_var(cpu_hw_counters);
        if (cpuc->interrupts >= PERFMON_MAX_INTERRUPTS) {
                if (printk_ratelimit())
-                       printk(KERN_WARNING "PERFMON: max interrupts exceeded!\n");
+                       printk(KERN_WARNING "perfcounters: max interrupts exceeded!\n");
                hw_perf_restore(cpuc->throttle_ctrl);
        }
        cpuc->interrupts = 0;