]> err.no Git - linux-2.6/commit
[POWERPC] Raise the upper limit of NR_CPUS and move the pacas into the BSS
authorTony Breeds <tony@bakeyournoodle.com>
Thu, 24 Apr 2008 03:43:49 +0000 (13:43 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 24 Apr 2008 10:58:04 +0000 (20:58 +1000)
commit90035fe378c7459ba19c43c63d5f878284224ce4
treee6daaaf5d9b0e2d077105e9263399f5f09f2c633
parent9cb82f2f4692293a27c578c3038518ce4477de72
[POWERPC] Raise the upper limit of NR_CPUS and move the pacas into the BSS

This adds the required functionality to fill in all pacas at runtime.

With NR_CPUS=1024
text    data     bss     dec     hex filename
 137 1704032       0 1704169  1a00e9 arch/powerpc/kernel/paca.o :Before
 121 1179744  524288 1704153  1a00d9 arch/powerpc/kernel/paca.o :After

Also remove unneeded #includes from arch/powerpc/kernel/paca.c

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/paca.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/platforms/Kconfig.cputype
include/asm-powerpc/paca.h