|
@@ -850,7 +850,7 @@ static __init int spawn_ksoftirqd(void)
|
|
void *cpu = (void *)(long)smp_processor_id();
|
|
void *cpu = (void *)(long)smp_processor_id();
|
|
int err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu);
|
|
int err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu);
|
|
|
|
|
|
- BUG_ON(err == NOTIFY_BAD);
|
|
|
|
|
|
+ BUG_ON(err != NOTIFY_OK);
|
|
cpu_callback(&cpu_nfb, CPU_ONLINE, cpu);
|
|
cpu_callback(&cpu_nfb, CPU_ONLINE, cpu);
|
|
register_cpu_notifier(&cpu_nfb);
|
|
register_cpu_notifier(&cpu_nfb);
|
|
return 0;
|
|
return 0;
|