18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_SIGHANDLING_H 38c2ecf20Sopenharmony_ci#define _ASM_X86_SIGHANDLING_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/compiler.h> 68c2ecf20Sopenharmony_ci#include <linux/ptrace.h> 78c2ecf20Sopenharmony_ci#include <linux/signal.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#include <asm/processor-flags.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#define FIX_EFLAGS (X86_EFLAGS_AC | X86_EFLAGS_OF | \ 128c2ecf20Sopenharmony_ci X86_EFLAGS_DF | X86_EFLAGS_TF | X86_EFLAGS_SF | \ 138c2ecf20Sopenharmony_ci X86_EFLAGS_ZF | X86_EFLAGS_AF | X86_EFLAGS_PF | \ 148c2ecf20Sopenharmony_ci X86_EFLAGS_CF | X86_EFLAGS_RF) 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_civoid signal_fault(struct pt_regs *regs, void __user *frame, char *where); 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#endif /* _ASM_X86_SIGHANDLING_H */ 19