diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2008-04-23 23:43:49 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-24 06:58:04 -0400 |
commit | 90035fe378c7459ba19c43c63d5f878284224ce4 (patch) | |
tree | e6daaaf5d9b0e2d077105e9263399f5f09f2c633 /include | |
parent | 9cb82f2f4692293a27c578c3038518ce4477de72 (diff) |
[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 'include')
-rw-r--r-- | include/asm-powerpc/paca.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/paca.h b/include/asm-powerpc/paca.h index eb61b9c1edfd..7b564444ff61 100644 --- a/include/asm-powerpc/paca.h +++ b/include/asm-powerpc/paca.h | |||
@@ -108,6 +108,7 @@ struct paca_struct { | |||
108 | }; | 108 | }; |
109 | 109 | ||
110 | extern struct paca_struct paca[]; | 110 | extern struct paca_struct paca[]; |
111 | extern void initialise_pacas(void); | ||
111 | 112 | ||
112 | #endif /* __KERNEL__ */ | 113 | #endif /* __KERNEL__ */ |
113 | #endif /* _ASM_POWERPC_PACA_H */ | 114 | #endif /* _ASM_POWERPC_PACA_H */ |