]> git.baikalelectronics.ru Git - kernel.git/commit
sched: proper prototype for kernel/sched.c:migration_init()
authorAdrian Bunk <bunk@kernel.org>
Fri, 9 Nov 2007 21:39:39 +0000 (22:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 9 Nov 2007 21:39:39 +0000 (22:39 +0100)
commitfa4fbb449d40ea49f0d9d6919949a055082b2b81
treee04e8b2206dfad58e784ea6e4550f98f318aff0b
parentfbcec135af17ce80bd20caa8171387f2d42fc0b1
sched: proper prototype for kernel/sched.c:migration_init()

This patch adds a proper prototype for migration_init() in
include/linux/sched.h

Since there's no point in always returning 0 to a caller that doesn't check
the return value it also changes the function to return void.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
init/main.c
kernel/sched.c