Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Tom Rini and committed by
Linus Torvalds
74262de5 ef130126

+1 -1
+1 -1
include/asm-ppc/sigcontext.h
··· 2 2 #define _ASM_PPC_SIGCONTEXT_H 3 3 4 4 #include <asm/ptrace.h> 5 - 5 + #include <linux/compiler.h> 6 6 7 7 struct sigcontext { 8 8 unsigned long _unused[4];