diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:31:41 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:41 -0500 |
commit | 46265df040533f57c191bb2b019d6b25c3bf1f34 (patch) | |
tree | 702a028558df2c970c5f4280679d6bb81b822f63 /include/asm-x86/processor_32.h | |
parent | ea5e3593a493298c69b8c4a958628feace930478 (diff) |
x86: move i387 definitions to processor.h
This patch moves i387 definitions from processor_32.h and processor_64.h
to processor.h. They are different. Very different. And there's appearently
nothing we can do about it, so they're enclosed inside ifdefs.
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/processor_32.h')
-rw-r--r-- | include/asm-x86/processor_32.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/include/asm-x86/processor_32.h b/include/asm-x86/processor_32.h index 82fafabbfe7a..0d6a430b2bc3 100644 --- a/include/asm-x86/processor_32.h +++ b/include/asm-x86/processor_32.h | |||
@@ -29,55 +29,6 @@ DECLARE_PER_CPU(u8, cpu_llc_id); | |||
29 | */ | 29 | */ |
30 | #define TASK_SIZE (PAGE_OFFSET) | 30 | #define TASK_SIZE (PAGE_OFFSET) |
31 | 31 | ||
32 | |||
33 | struct i387_fsave_struct { | ||
34 | long cwd; | ||
35 | long swd; | ||
36 | long twd; | ||
37 | long fip; | ||
38 | long fcs; | ||
39 | long foo; | ||
40 | long fos; | ||
41 | long st_space[20]; /* 8*10 bytes for each FP-reg = 80 bytes */ | ||
42 | long status; /* software status information */ | ||
43 | }; | ||
44 | |||
45 | struct i387_fxsave_struct { | ||
46 | unsigned short cwd; | ||
47 | unsigned short swd; | ||
48 | unsigned short twd; | ||
49 | unsigned short fop; | ||
50 | long fip; | ||
51 | long fcs; | ||
52 | long foo; | ||
53 | long fos; | ||
54 | long mxcsr; | ||
55 | long mxcsr_mask; | ||
56 | long st_space[32]; /* 8*16 bytes for each FP-reg = 128 bytes */ | ||
57 | long xmm_space[32]; /* 8*16 bytes for each XMM-reg = 128 bytes */ | ||
58 | long padding[56]; | ||
59 | } __attribute__ ((aligned (16))); | ||
60 | |||
61 | struct i387_soft_struct { | ||
62 | long cwd; | ||
63 | long swd; | ||
64 | long twd; | ||
65 | long fip; | ||
66 | long fcs; | ||
67 | long foo; | ||
68 | long fos; | ||
69 | long st_space[20]; /* 8*10 bytes for each FP-reg = 80 bytes */ | ||
70 | unsigned char ftop, changed, lookahead, no_update, rm, alimit; | ||
71 | struct info *info; | ||
72 | unsigned long entry_eip; | ||
73 | }; | ||
74 | |||
75 | union i387_union { | ||
76 | struct i387_fsave_struct fsave; | ||
77 | struct i387_fxsave_struct fxsave; | ||
78 | struct i387_soft_struct soft; | ||
79 | }; | ||
80 | |||
81 | #define INIT_THREAD { \ | 32 | #define INIT_THREAD { \ |
82 | .sp0 = sizeof(init_stack) + (long)&init_stack, \ | 33 | .sp0 = sizeof(init_stack) + (long)&init_stack, \ |
83 | .vm86_info = NULL, \ | 34 | .vm86_info = NULL, \ |