blob: 0d9b14f60d2c1f3c65a84cc05126dd5cfed166cf [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_MATH_EMU_H
2#define _ASM_X86_MATH_EMU_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Tejun Heoae6af412009-02-09 22:17:39 +09004#include <asm/ptrace.h>
Tejun Heoae6af412009-02-09 22:17:39 +09005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/* This structure matches the layout of the data saved to the stack
7 following a device-not-present interrupt, part of it saved
8 automatically by the 80386/80486.
9 */
Tejun Heoae6af412009-02-09 22:17:39 +090010struct math_emu_info {
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 long ___orig_eip;
Brian Gerstba3e1272015-07-29 01:41:21 -040012 struct pt_regs *regs;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013};
H. Peter Anvin1965aae2008-10-22 22:26:29 -070014#endif /* _ASM_X86_MATH_EMU_H */