From: Mikael Pettersson In file included from include/asm/spinlock.h:20, from include/linux/spinlock.h:43, from include/linux/signal.h:5, from arch/ppc64/kernel/asm-offsets.c:17: include/asm/paca.h:25: error: array type has incomplete element type Signed-off-by: Mikael Pettersson Acked-by: Anton Blanchard Signed-off-by: Andrew Morton --- 25-akpm/include/asm-ppc64/paca.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN include/asm-ppc64/paca.h~ppc64-fix-gcc4-compile-error-in-pacah include/asm-ppc64/paca.h --- 25/include/asm-ppc64/paca.h~ppc64-fix-gcc4-compile-error-in-pacah 2005-03-21 21:47:24.000000000 -0800 +++ 25-akpm/include/asm-ppc64/paca.h 2005-03-21 21:47:24.000000000 -0800 @@ -22,7 +22,6 @@ #include #include -extern struct paca_struct paca[]; register struct paca_struct *local_paca asm("r13"); #define get_paca() local_paca @@ -115,4 +114,6 @@ struct paca_struct { #endif }; +extern struct paca_struct paca[]; + #endif /* _PPC64_PACA_H */ _