diff options
author | David Miller <davem@davemloft.net> | 2007-07-16 17:17:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 17:29:56 -0700 |
commit | 7713a7d195c2e11d7ba6a973317da0af862d1264 (patch) | |
tree | 6ce86caeb0ae68b39e62fbf40591ec5bc22150e1 /kernel/hrtimer.c | |
parent | 29417b899a77aaba1c060f5e123db4f50006f58a (diff) | |
download | linux-stable-7713a7d195c2e11d7ba6a973317da0af862d1264.tar.gz linux-stable-7713a7d195c2e11d7ba6a973317da0af862d1264.tar.bz2 linux-stable-7713a7d195c2e11d7ba6a973317da0af862d1264.zip |
[HRTIMER] Fix cpu pointer arg to clockevents_notify()
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>
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r-- | kernel/hrtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 23c03f43e196..72d034258ba1 100644 --- 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) { |