mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
![Tom Rini](/assets/img/avatar_default.png)
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>
15 lines
265 B
C
15 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
|