18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_MATH_EMU_H 38c2ecf20Sopenharmony_ci#define _ASM_X86_MATH_EMU_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <asm/ptrace.h> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/* This structure matches the layout of the data saved to the stack 88c2ecf20Sopenharmony_ci following a device-not-present interrupt, part of it saved 98c2ecf20Sopenharmony_ci automatically by the 80386/80486. 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_cistruct math_emu_info { 128c2ecf20Sopenharmony_ci long ___orig_eip; 138c2ecf20Sopenharmony_ci struct pt_regs *regs; 148c2ecf20Sopenharmony_ci}; 158c2ecf20Sopenharmony_ci#endif /* _ASM_X86_MATH_EMU_H */ 16