mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-15 14:36:52 +01:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
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
|