summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2005-06-07 00:50:08 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-07 02:02:02 +0200
commit74262de5d15fe0cab9e6fe75655a502d3c90acca (patch)
treefe97a42038552f22215c7d2c13d9c92b7aa3b9bc /include/asm-ppc
parentMerge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/tg3-2.6 (diff)
downloadlinux-74262de5d15fe0cab9e6fe75655a502d3c90acca.tar.xz
linux-74262de5d15fe0cab9e6fe75655a502d3c90acca.zip
[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>
Diffstat (limited to 'include/asm-ppc')
-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 f82dcccdee1e..b7a417e0a921 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];