diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2008-04-24 03:43:49 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-24 10:58:04 (GMT) |
commit | 90035fe378c7459ba19c43c63d5f878284224ce4 (patch) | |
tree | e6daaaf5d9b0e2d077105e9263399f5f09f2c633 /include/asm-powerpc | |
parent | 9cb82f2f4692293a27c578c3038518ce4477de72 (diff) | |
download | linux-90035fe378c7459ba19c43c63d5f878284224ce4.tar.xz |
[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/asm-powerpc')
-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 eb61b9c..7b56444 100644 --- a/include/asm-powerpc/paca.h +++ b/include/asm-powerpc/paca.h @@ -108,6 +108,7 @@ struct paca_struct { }; extern struct paca_struct paca[]; +extern void initialise_pacas(void); #endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_PACA_H */ |