mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
sched: Fix return value of migration_init()
migration_init() returns the return value of the hotplug notifier. In the success case this is NOTIFY_OK which is 1. initcall_debug evaluates that as an error code because init calls are expected to return 0 on success. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
def01bc53d
commit
a004cd4218
1 changed files with 1 additions and 1 deletions
|
@ -7654,7 +7654,7 @@ static int __init migration_init(void)
|
|||
migration_call(&migration_notifier, CPU_ONLINE, cpu);
|
||||
register_cpu_notifier(&migration_notifier);
|
||||
|
||||
return err;
|
||||
return 0;
|
||||
}
|
||||
early_initcall(migration_init);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue