projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2395140
)
[PATCH] add cpu_relax to hrtimer_cancel
author
Joe Korty
<joe.korty@ccur.com>
Tue, 11 Apr 2006 05:54:13 +0000
(22:54 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:42 +0000
(06:18 -0700)
Add a cpu_relax() to the hand-coded spinwait in hrtimer_cancel().
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/hrtimer.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/hrtimer.c
b/kernel/hrtimer.c
index f181ff4dd32ec18221955508d515c3b8da81c6a6..d2a7296c8251979b67be6a98640025c0181462c5 100644
(file)
--- a/
kernel/hrtimer.c
+++ b/
kernel/hrtimer.c
@@
-501,6
+501,7
@@
int hrtimer_cancel(struct hrtimer *timer)
if (ret >= 0)
return ret;
+ cpu_relax();
}
}