From: Jan Blunck Date: Mon, 14 Aug 2006 06:24:19 +0000 (-0700) Subject: [PATCH] fix hrtimer percpu usage typo X-Git-Tag: v2.6.18-rc5~92 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3773dc92055f219c2f2403f9de774b8ad41a9214;p=linux-2.6 [PATCH] fix hrtimer percpu usage typo The percpu variable is used incorrectly in switch_hrtimer_base(). Signed-off-by: Jan Blunck Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index be989efc78..21c38a7e66 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) { /*