sched: x86: Name old_perf in a unique way
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 16 Sep 2009 07:38:24 +0000 (09:38 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Sep 2009 09:21:07 +0000 (11:21 +0200)
Silly percpu bits don't respect static..

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>

arch/x86/kernel/cpu/sched.c

index 6c00a8f3cce5ee8b51150f81c8f6a70e0953ff92..a640ae5ad2017b3cd966bcd888e128e23a8b6435 100644 (file)
@@ -8,11 +8,11 @@
 
 #ifdef CONFIG_SMP
 
-static DEFINE_PER_CPU(struct aperfmperf, old_perf);
+static DEFINE_PER_CPU(struct aperfmperf, old_perf_sched);
 
 static unsigned long scale_aperfmperf(void)
 {
-       struct aperfmperf val, *old = &__get_cpu_var(old_perf);
+       struct aperfmperf val, *old = &__get_cpu_var(old_perf_sched);
        unsigned long ratio, flags;
 
        local_irq_save(flags);