summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2008-04-24 13:43:49 +1000
committerPaul Mackerras <paulus@samba.org>2008-04-24 20:58:04 +1000
commit90035fe378c7459ba19c43c63d5f878284224ce4 (patch)
treee6daaaf5d9b0e2d077105e9263399f5f09f2c633 /arch/powerpc/kernel/setup_64.c
parent9cb82f2f4692293a27c578c3038518ce4477de72 (diff)
downloadblackbird-op-linux-90035fe378c7459ba19c43c63d5f878284224ce4.tar.gz
blackbird-op-linux-90035fe378c7459ba19c43c63d5f878284224ce4.zip
[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>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 153a48dc8f40..dff6308d1b5e 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -170,6 +170,9 @@ void __init setup_paca(int cpu)
void __init early_setup(unsigned long dt_ptr)
{
+ /* Fill in any unititialised pacas */
+ initialise_pacas();
+
/* Identify CPU type */
identify_cpu(0, mfspr(SPRN_PVR));
OpenPOWER on IntegriCloud