]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
smp: move smp setup functions to kernel/smp.c
authorAmerigo Wang <amwang@redhat.com>
Tue, 22 Mar 2011 23:34:06 +0000 (16:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:11 +0000 (17:44 -0700)
commit34db18a054c600b6f81787165669dc572fe4de25
tree6a8a0abf4f64ccad677ea2468c3e8465ac4e0c29
parentfa9ee9c4b9885dfdf8eccac19b8b4fc8a7c53288
smp: move smp setup functions to kernel/smp.c

Move setup_nr_cpu_ids(), smp_init() and some other SMP boot parameter
setup functions from init/main.c to kenrel/smp.c, saves some #ifdef
CONFIG_SMP.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Rakib Mullick <rakib.mullick@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tejun Heo <tj@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/smp.h
init/main.c
kernel/smp.c