sched: Unify the sched_domain build functions
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 7 Apr 2011 12:10:01 +0000 (14:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 Apr 2011 12:09:27 +0000 (14:09 +0200)
commit2c402dc3bb502e9dd74fce72c14d293fcef4719d
tree50b54fa22739e13685bb1e4f54a37551749f4ad4
parenteb7a74e6cd936c00749e2921b9e058631d986648
sched: Unify the sched_domain build functions

Since all the __build_$DOM_sched_domain() functions do pretty much the
same thing, unify them.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Nick Piggin <npiggin@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20110407122942.826347257@chello.nl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c