]> bbs.cooldavid.org Git - net-next-2.6.git/commit - init/main.c
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)
commite6fe6649b4ec11aa3075e394b4d8743eebe1f64c
treee04e8b2206dfad58e784ea6e4550f98f318aff0b
parentb82d9fdd848abfbe7263a4ecd9bbb55e575100a6
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