Skip to content

Commit

Permalink
[PATCH] ppc32: add <linux/compiler.h> to <asm/sigcontext.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tom Rini authored and Linus Torvalds committed Jun 7, 2005
1 parent ef13012 commit 74262de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-ppc/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _ASM_PPC_SIGCONTEXT_H

#include <asm/ptrace.h>

#include <linux/compiler.h>

struct sigcontext {
unsigned long _unused[4];
Expand Down

0 comments on commit 74262de

Please sign in to comment.