ChangeSet 1.2231.1.32, 2005/03/28 19:25:12-08:00, [EMAIL PROTECTED]
[PATCH] ppc64: fix gcc4 compile error in paca.h
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 <[EMAIL PROTECTED]>
Acked-by: Anton Blanchard <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
paca.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Nru a/include/asm-ppc64/paca.h b/include/asm-ppc64/paca.h
--- a/include/asm-ppc64/paca.h 2005-03-28 21:13:23 -08:00
+++ b/include/asm-ppc64/paca.h 2005-03-28 21:13:23 -08:00
@@ -22,7 +22,6 @@
#include <asm/iSeries/ItLpRegSave.h>
#include <asm/mmu.h>
-extern struct paca_struct paca[];
register struct paca_struct *local_paca asm("r13");
#define get_paca() local_paca
@@ -114,5 +113,7 @@
struct ItLpRegSave reg_save;
#endif
};
+
+extern struct paca_struct paca[];
#endif /* _PPC64_PACA_H */
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html