projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29417b8
)
[HRTIMER] Fix cpu pointer arg to clockevents_notify()
author
David Miller
<davem@davemloft.net>
Tue, 17 Jul 2007 00:17:44 +0000
(17:17 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 00:29:56 +0000
(17:29 -0700)
All of the clockevent notifiers expect a pointer to
an "unsigned int" cpu argument, but hrtimer_cpu_notify()
passes in a pointer to a long.
[ Discussed with and ok by Thomas Gleixner ]
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/hrtimer.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/hrtimer.c
b/kernel/hrtimer.c
index 23c03f43e1962d6f0dfa4cb8a716080cf671a48c..72d034258ba109b25b7a6f4723d47fd8f5cc5808 100644
(file)
--- a/
kernel/hrtimer.c
+++ b/
kernel/hrtimer.c
@@
-1406,7
+1406,7
@@
static void migrate_hrtimers(int cpu)
static int __cpuinit hrtimer_cpu_notify(struct notifier_block *self,
unsigned long action, void *hcpu)
{
-
long
cpu = (long)hcpu;
+
unsigned int
cpu = (long)hcpu;
switch (action) {