Commit a6f04661 authored by David S. Miller's avatar David S. Miller

kernel/sched.c:migration_init Avoid int-->pointer cast warning on 64-bit.

parent 80e4e144
...@@ -2064,7 +2064,7 @@ __init int migration_init(void) ...@@ -2064,7 +2064,7 @@ __init int migration_init(void)
{ {
/* Start one for boot CPU. */ /* Start one for boot CPU. */
migration_call(&migration_notifier, CPU_ONLINE, migration_call(&migration_notifier, CPU_ONLINE,
(void *)smp_processor_id()); (void *)(long)smp_processor_id());
register_cpu_notifier(&migration_notifier); register_cpu_notifier(&migration_notifier);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment