sched: Fix return value of migration_init()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 21 Jul 2009 07:54:05 +0000 (09:54 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Jul 2009 07:41:35 +0000 (09:41 +0200)
commita004cd42181409eda70804ded240a791f4564d61
treedda56f65f1fc420ec9aadfaed2f18695a30c5d3c
parentdef01bc53d03881acfc393bd10a5c7575187e008
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>
kernel/sched.c