[PATCH] ppc32: add <linux/compiler.h> to <asm/sigcontext.h>
authorTom Rini <trini@kernel.crashing.org>
Mon, 6 Jun 2005 22:50:08 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 7 Jun 2005 00:02:02 +0000 (17:02 -0700)
On ppc32, <asm/sigcontext.h> uses __user, but doesn't directly include
<linux/compiler.h>.  This adds that in.  Without this, glibc will not
compile.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-ppc/sigcontext.h

index f82dccc..b7a417e 100644 (file)
@@ -2,7 +2,7 @@
 #define _ASM_PPC_SIGCONTEXT_H
 
 #include <asm/ptrace.h>
-
+#include <linux/compiler.h>
 
 struct sigcontext {
        unsigned long   _unused[4];