summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJan Blunck <jblunck@suse.de>2006-08-14 08:24:19 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-08-14 21:54:28 +0200
commit3773dc92055f219c2f2403f9de774b8ad41a9214 (patch)
tree621406999c6bafdf635a8425be2e67ba8e894e22 /kernel
parent[PATCH] initialize parts of udf inode earlier in create (diff)
downloadlinux-3773dc92055f219c2f2403f9de774b8ad41a9214.tar.xz
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) {
/*