[PATCH 2.6.12-rc5 ppc32] Add <linux/compiler.h> to <asm/sigcontext.h>

From: Tom Rini
Date: Mon Jun 06 2005 - 13:47:25 EST


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@xxxxxxxxxxxxxxxxxxx>

Index: include/asm-ppc/sigcontext.h
===================================================================
--- 475459da3d3cc0071c71900cfbcdc389d3d71597/include/asm-ppc/sigcontext.h (mode:100644)
+++ uncommitted/include/asm-ppc/sigcontext.h (mode:100644)
@@ -2,7 +2,7 @@
#define _ASM_PPC_SIGCONTEXT_H

#include <asm/ptrace.h>
-
+#include <linux/compiler.h>

struct sigcontext {
unsigned long _unused[4];

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/