1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 21965aae3SH. Peter Anvin #ifndef _ASM_X86_MATH_EMU_H 31965aae3SH. Peter Anvin #define _ASM_X86_MATH_EMU_H 4bb898558SAl Viro 5ae6af41fSTejun Heo #include <asm/ptrace.h> 6ae6af41fSTejun Heo 7bb898558SAl Viro /* This structure matches the layout of the data saved to the stack 8bb898558SAl Viro following a device-not-present interrupt, part of it saved 9bb898558SAl Viro automatically by the 80386/80486. 10bb898558SAl Viro */ 11ae6af41fSTejun Heo struct math_emu_info { 12bb898558SAl Viro long ___orig_eip; 13d315760fSTejun Heo struct pt_regs *regs; 14bb898558SAl Viro }; 151965aae3SH. Peter Anvin #endif /* _ASM_X86_MATH_EMU_H */ 16