X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fsoftirq.c;h=c506f266a6b90ee9d887b9eeecdd45061e74ef1f;hb=61311e1bbc299b3a3a42b8d7f491b428ded964f0;hp=f6b03d56c2bf130d81a4cda68b193267ef6b7466;hpb=b5684b83b1e1579bbbc80e703e990c0cccf5892c;p=linux-2.6 diff --git a/kernel/softirq.c b/kernel/softirq.c index f6b03d56c2..c506f266a6 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -630,7 +630,7 @@ static struct notifier_block __cpuinitdata cpu_nfb = { .notifier_call = cpu_callback }; -__init int spawn_ksoftirqd(void) +static __init int spawn_ksoftirqd(void) { void *cpu = (void *)(long)smp_processor_id(); int err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu); @@ -640,6 +640,7 @@ __init int spawn_ksoftirqd(void) register_cpu_notifier(&cpu_nfb); return 0; } +early_initcall(spawn_ksoftirqd); #ifdef CONFIG_SMP /*