projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95f8797
)
[PATCH] fix hrtimer percpu usage typo
author
Jan Blunck
<jblunck@suse.de>
Mon, 14 Aug 2006 06:24:19 +0000
(23:24 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 14 Aug 2006 19:54:28 +0000
(12:54 -0700)
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>
kernel/hrtimer.c
patch
|
blob
|
history
diff --git
a/kernel/hrtimer.c
b/kernel/hrtimer.c
index be989efc785612c6331393bbe3f204a86877f379..21c38a7e666ba74f373b9693770af4b22b63a685 100644
(file)
--- 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) {
/*