Skip to content

Commit

Permalink
[PATCH] fix hrtimer percpu usage typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Blunck authored and Greg Kroah-Hartman committed Aug 14, 2006
1 parent 95f8797 commit 3773dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/hrtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
/*
Expand Down

0 comments on commit 3773dc9

Please sign in to comment.