Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
H. Peter Anvin | f28f0c2 | 2012-02-19 07:38:43 -0800 | [diff] [blame] | 2 | #ifndef _ASM_X86_SIGHANDLING_H |
| 3 | #define _ASM_X86_SIGHANDLING_H |
| 4 | |
| 5 | #include <linux/compiler.h> |
| 6 | #include <linux/ptrace.h> |
| 7 | #include <linux/signal.h> |
| 8 | |
| 9 | #include <asm/processor-flags.h> |
| 10 | |
Jiri Olsa | 5e219b3 | 2013-05-01 17:25:41 +0200 | [diff] [blame] | 11 | #define FIX_EFLAGS (X86_EFLAGS_AC | X86_EFLAGS_OF | \ |
H. Peter Anvin | f28f0c2 | 2012-02-19 07:38:43 -0800 | [diff] [blame] | 12 | X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \ |
| 13 | X86_EFLAGS_ZF | X86_EFLAGS_AF | X86_EFLAGS_PF | \ |
Jiri Olsa | 5e219b3 | 2013-05-01 17:25:41 +0200 | [diff] [blame] | 14 | X86_EFLAGS_CF | X86_EFLAGS_RF) |
H. Peter Anvin | f28f0c2 | 2012-02-19 07:38:43 -0800 | [diff] [blame] | 15 | |
| 16 | void signal_fault(struct pt_regs *regs, void __user *frame, char *where); |
H. Peter Anvin | 8513942 | 2012-02-19 07:43:09 -0800 | [diff] [blame] | 17 | |
H. Peter Anvin | f28f0c2 | 2012-02-19 07:38:43 -0800 | [diff] [blame] | 18 | #endif /* _ASM_X86_SIGHANDLING_H */ |