diff options
author | David Miller <davem@davemloft.net> | 2007-07-17 02:17:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 02:29:56 +0200 |
commit | 7713a7d195c2e11d7ba6a973317da0af862d1264 (patch) | |
tree | 6ce86caeb0ae68b39e62fbf40591ec5bc22150e1 /kernel/hrtimer.c | |
parent | Make BLK_DEV_BSG depend strictly on SCSI=y (diff) | |
download | linux-7713a7d195c2e11d7ba6a973317da0af862d1264.tar.xz linux-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) { |