sched: Move cpu masks from kernel/sched.c into kernel/cpu.c
authorMax Krasnyansky <maxk@qualcomm.com>
Thu, 29 May 2008 18:17:02 +0000 (11:17 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Jun 2008 13:25:01 +0000 (15:25 +0200)
commit68f4f1ec08e3d95730a2693b99df8260aa0d06ae
treec5deab621f545eac80fcec6608d68cddf6705032
parent5c8e1ed1d204a6770ca2854cd3b3597070fe7e5a
sched: Move cpu masks from kernel/sched.c into kernel/cpu.c

kernel/cpu.c seems a more logical place for those maps since they do not really
have much to do with the scheduler these days.

kernel/cpu.c is now built for the UP kernel too, but it does not affect the size
the kernel sections.

$ size vmlinux

before
   text       data        bss        dec        hex    filename
3313797     307060     310352    3931209     3bfc49    vmlinux

after
   text       data        bss        dec        hex    filename
3313797     307060     310352    3931209     3bfc49    vmlinux

Signed-off-by: Max Krasnyansky <maxk@qualcomm.com>
Cc: pj@sgi.com
Cc: menage@google.com
Cc: rostedt@goodmis.org
Cc: mingo@elte.hu
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/Makefile
kernel/cpu.c
kernel/sched.c