forked from luck/tmp_suning_uos_patched
74262de5d1
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>
16 lines
265 B
C
16 lines
265 B
C
#ifndef _ASM_PPC_SIGCONTEXT_H
|
|
#define _ASM_PPC_SIGCONTEXT_H
|
|
|
|
#include <asm/ptrace.h>
|
|
#include <linux/compiler.h>
|
|
|
|
struct sigcontext {
|
|
unsigned long _unused[4];
|
|
int signal;
|
|
unsigned long handler;
|
|
unsigned long oldmask;
|
|
struct pt_regs __user *regs;
|
|
};
|
|
|
|
#endif
|