diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index e195a4229418..b18f231a4875 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -5650,7 +5650,7 @@ static struct notifier_block __cpuinitdata migration_notifier = { | |||
5650 | .priority = 10 | 5650 | .priority = 10 |
5651 | }; | 5651 | }; |
5652 | 5652 | ||
5653 | int __init migration_init(void) | 5653 | void __init migration_init(void) |
5654 | { | 5654 | { |
5655 | void *cpu = (void *)(long)smp_processor_id(); | 5655 | void *cpu = (void *)(long)smp_processor_id(); |
5656 | int err; | 5656 | int err; |
@@ -5660,8 +5660,6 @@ int __init migration_init(void) | |||
5660 | BUG_ON(err == NOTIFY_BAD); | 5660 | BUG_ON(err == NOTIFY_BAD); |
5661 | migration_call(&migration_notifier, CPU_ONLINE, cpu); | 5661 | migration_call(&migration_notifier, CPU_ONLINE, cpu); |
5662 | register_cpu_notifier(&migration_notifier); | 5662 | register_cpu_notifier(&migration_notifier); |
5663 | |||
5664 | return 0; | ||
5665 | } | 5663 | } |
5666 | #endif | 5664 | #endif |
5667 | 5665 | ||