]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 f82dcccdee1e974c770b9dfe8c7aeb20ce144872..b7a417e0a9217c758384d4227975b7580a33902b 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];