Commit:     7713a7d195c2e11d7ba6a973317da0af862d1264
Parent:     29417b899a77aaba1c060f5e123db4f50006f58a
Author:     David Miller <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 16 17:17:44 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Jul 16 17:29:56 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 kernel/hrtimer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index 23c03f4..72d0342 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) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to