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

kernel/softirq.c:spawn_ksoftirqd Avoid int-->pointer cast warning on 64-bit.

parent a6f04661
...@@ -412,7 +412,7 @@ static struct notifier_block cpu_nfb = { &cpu_callback, NULL, 0 }; ...@@ -412,7 +412,7 @@ static struct notifier_block cpu_nfb = { &cpu_callback, NULL, 0 };
__init int spawn_ksoftirqd(void) __init int spawn_ksoftirqd(void)
{ {
cpu_callback(&cpu_nfb, CPU_ONLINE, (void *)smp_processor_id()); cpu_callback(&cpu_nfb, CPU_ONLINE, (void *)(long)smp_processor_id());
register_cpu_notifier(&cpu_nfb); register_cpu_notifier(&cpu_nfb);
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