summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJan Blunck <jblunck@suse.de>2006-08-13 23:24:19 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-08-14 12:54:28 -0700
commit3773dc92055f219c2f2403f9de774b8ad41a9214 (patch)
tree621406999c6bafdf635a8425be2e67ba8e894e22 /kernel
parent95f8797f42b058333d1e6f0d1dcd8edf5dc6c244 (diff)
downloadblackbird-op-linux-3773dc92055f219c2f2403f9de774b8ad41a9214.tar.gz
blackbird-op-linux-3773dc92055f219c2f2403f9de774b8ad41a9214.zip
[PATCH] fix hrtimer percpu usage typo
The percpu variable is used incorrectly in switch_hrtimer_base(). Signed-off-by: Jan Blunck <jblunck@suse.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/hrtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index be989efc7856..21c38a7e666b 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -187,7 +187,7 @@ switch_hrtimer_base(struct hrtimer *timer, struct hrtimer_base *base)
{
struct hrtimer_base *new_base;
- new_base = &__get_cpu_var(hrtimer_bases[base->index]);
+ new_base = &__get_cpu_var(hrtimer_bases)[base->index];
if (base != new_base) {
/*
OpenPOWER on IntegriCloud