summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/softirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 4f606e1acbd9..58825a0bbc62 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -412,7 +412,7 @@ static struct notifier_block cpu_nfb = { &cpu_callback, NULL, 0 };
__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);
return 0;
}