xref: /openbmc/linux/arch/x86/include/asm/math_emu.h (revision 31b90347)
1 #ifndef _ASM_X86_MATH_EMU_H
2 #define _ASM_X86_MATH_EMU_H
3 
4 #include <asm/ptrace.h>
5 #include <asm/vm86.h>
6 
7 /* This structure matches the layout of the data saved to the stack
8    following a device-not-present interrupt, part of it saved
9    automatically by the 80386/80486.
10    */
11 struct math_emu_info {
12 	long ___orig_eip;
13 	union {
14 		struct pt_regs *regs;
15 		struct kernel_vm86_regs *vm86;
16 	};
17 };
18 #endif /* _ASM_X86_MATH_EMU_H */
19