H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_MATH_EMU_H |
| 2 | #define _ASM_X86_MATH_EMU_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
Tejun Heo | ae6af41 | 2009-02-09 22:17:39 +0900 | [diff] [blame] | 4 | #include <asm/ptrace.h> |
Tejun Heo | ae6af41 | 2009-02-09 22:17:39 +0900 | [diff] [blame] | 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | /* 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 Heo | ae6af41 | 2009-02-09 22:17:39 +0900 | [diff] [blame] | 10 | struct math_emu_info { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | long ___orig_eip; |
Brian Gerst | ba3e127 | 2015-07-29 01:41:21 -0400 | [diff] [blame] | 12 | struct pt_regs *regs; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | }; |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 14 | #endif /* _ASM_X86_MATH_EMU_H */ |