diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-09-16 07:38:24 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-16 09:21:07 (GMT) |
commit | 7c423e98856df9b941223a7e7845b2502ad84b00 (patch) | |
tree | cebbbabf8bfa6053fb4d358a2daec29b21114644 | |
parent | 51e0304ce6e55a6e59658558916b4f74da085ff0 (diff) | |
download | linux-7c423e98856df9b941223a7e7845b2502ad84b00.tar.xz |
sched: x86: Name old_perf in a unique way
Silly percpu bits don't respect static..
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
-rw-r--r-- | arch/x86/kernel/cpu/sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/sched.c b/arch/x86/kernel/cpu/sched.c index 6c00a8f..a640ae5 100644 --- a/arch/x86/kernel/cpu/sched.c +++ b/arch/x86/kernel/cpu/sched.c @@ -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); |