[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>
This commit is contained in:
parent
95f8797f42
commit
3773dc9205
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue