Commit 344711d7 authored by David S. Miller's avatar David S. Miller

kernel/cpu.c:cpu_up Avoid int-->pointer cast warning on 64-bit.

parent d8a15c0c
......@@ -46,7 +46,7 @@ int __devinit cpu_up(unsigned int cpu)
/* Now call notifier in preparation. */
printk("CPU %u IS NOW UP!\n", cpu);
notifier_call_chain(&cpu_chain, CPU_ONLINE, (void *)cpu);
notifier_call_chain(&cpu_chain, CPU_ONLINE, (void *)(long)cpu);
out:
up(&cpucontrol);
......
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