Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7713a7d1 authored by David Miller's avatar David Miller Committed by Linus Torvalds
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 29417b89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {