From f50dda06dc514767ca26233e6bf51e6cb0b408c9 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Tue, 7 Sep 2004 17:47:10 -0700 Subject: [PATCH] ppc64: cut down paca footprint The paca currently contains an iseries only structure which is quite large (~1kB). The following patch removes this overhead on pseries and g5 kernels. Since the paca is no longer required to be page aligned, remove it from the page aligned section. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-ppc64/paca.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/asm-ppc64/paca.h b/include/asm-ppc64/paca.h index bba0775bb415..947191f3f47a 100644 --- a/include/asm-ppc64/paca.h +++ b/include/asm-ppc64/paca.h @@ -16,6 +16,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include @@ -104,7 +105,9 @@ struct paca_struct { * The lppaca is also used on POWER5 pSeries boxes. */ struct ItLpPaca lppaca __attribute__((aligned(0x80))); +#ifdef CONFIG_PPC_ISERIES struct ItLpRegSave reg_save; +#endif }; #endif /* _PPC64_PACA_H */ -- cgit v1.2.3