Merge tag 'pm-4.13-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux/fpc-iii.git] / arch / x86 / include / asm / sighandling.h
blob452c88b8ad0691cc4d22ae4289d9f0cfa6b5c332
1 #ifndef _ASM_X86_SIGHANDLING_H
2 #define _ASM_X86_SIGHANDLING_H
4 #include <linux/compiler.h>
5 #include <linux/ptrace.h>
6 #include <linux/signal.h>
8 #include <asm/processor-flags.h>
10 #define FIX_EFLAGS (X86_EFLAGS_AC | X86_EFLAGS_OF | \
11 X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \
12 X86_EFLAGS_ZF | X86_EFLAGS_AF | X86_EFLAGS_PF | \
13 X86_EFLAGS_CF | X86_EFLAGS_RF)
15 void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
16 int setup_sigcontext(struct sigcontext __user *sc, void __user *fpstate,
17 struct pt_regs *regs, unsigned long mask);
19 #endif /* _ASM_X86_SIGHANDLING_H */