summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2005-06-06 15:50:08 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-06 17:02:02 -0700
commit74262de5d15fe0cab9e6fe75655a502d3c90acca (patch)
treefe97a42038552f22215c7d2c13d9c92b7aa3b9bc
parentef130126cc8794f748d7513735ecb4d3d99fa39e (diff)
downloadop-kernel-dev-74262de5d15fe0cab9e6fe75655a502d3c90acca.zip
op-kernel-dev-74262de5d15fe0cab9e6fe75655a502d3c90acca.tar.gz
[PATCH] ppc32: add <linux/compiler.h> to <asm/sigcontext.h>
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>
-rw-r--r--include/asm-ppc/sigcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/sigcontext.h b/include/asm-ppc/sigcontext.h
index f82dccc..b7a417e 100644
--- a/include/asm-ppc/sigcontext.h
+++ b/include/asm-ppc/sigcontext.h
@@ -2,7 +2,7 @@
#define _ASM_PPC_SIGCONTEXT_H
#include <asm/ptrace.h>
-
+#include <linux/compiler.h>
struct sigcontext {
unsigned long _unused[4];
OpenPOWER on IntegriCloud