aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/math_emu.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 05:20:03 -0400
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 05:20:03 -0400
commit96a388de5dc53a8b234b3fd41f3ae2cedc9ffd42 (patch)
treed947a467aa2da3140279617bc4b9b101640d7bf4 /include/asm-x86/math_emu.h
parent27bd0c955648646abf2a353a8371d28c37bcd982 (diff)
i386/x86_64: move headers to include/asm-x86
Move the headers to include/asm-x86 and fixup the header install make rules Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/math_emu.h')
-rw-r--r--include/asm-x86/math_emu.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/asm-x86/math_emu.h b/include/asm-x86/math_emu.h
new file mode 100644
index 000000000000..a4b0aa3320e6
--- /dev/null
+++ b/include/asm-x86/math_emu.h
@@ -0,0 +1,36 @@
1#ifndef _I386_MATH_EMU_H
2#define _I386_MATH_EMU_H
3
4#include <asm/sigcontext.h>
5
6int restore_i387_soft(void *s387, struct _fpstate __user *buf);
7int save_i387_soft(void *s387, struct _fpstate __user *buf);
8
9/* This structure matches the layout of the data saved to the stack
10 following a device-not-present interrupt, part of it saved
11 automatically by the 80386/80486.
12 */
13struct info {
14 long ___orig_eip;
15 long ___ebx;
16 long ___ecx;
17 long ___edx;
18 long ___esi;
19 long ___edi;
20 long ___ebp;
21 long ___eax;
22 long ___ds;
23 long ___es;
24 long ___fs;
25 long ___orig_eax;
26 long ___eip;
27 long ___cs;
28 long ___eflags;
29 long ___esp;
30 long ___ss;
31 long ___vm86_es; /* This and the following only in vm86 mode */
32 long ___vm86_ds;
33 long ___vm86_fs;
34 long ___vm86_gs;
35};
36#endif