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_64.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_64.h')
-rw-r--r-- | include/asm-x86/processor_64.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-x86/processor_64.h b/include/asm-x86/processor_64.h index 86fc2dcc8687..04ce823ea7e6 100644 --- a/include/asm-x86/processor_64.h +++ b/include/asm-x86/processor_64.h | |||
@@ -31,23 +31,6 @@ | |||
31 | #define TASK_SIZE_OF(child) ((test_tsk_thread_flag(child, TIF_IA32)) ? IA32_PAGE_OFFSET : TASK_SIZE64) | 31 | #define TASK_SIZE_OF(child) ((test_tsk_thread_flag(child, TIF_IA32)) ? IA32_PAGE_OFFSET : TASK_SIZE64) |
32 | 32 | ||
33 | 33 | ||
34 | struct i387_fxsave_struct { | ||
35 | u16 cwd; | ||
36 | u16 swd; | ||
37 | u16 twd; | ||
38 | u16 fop; | ||
39 | u64 rip; | ||
40 | u64 rdp; | ||
41 | u32 mxcsr; | ||
42 | u32 mxcsr_mask; | ||
43 | u32 st_space[32]; /* 8*16 bytes for each FP-reg = 128 bytes */ | ||
44 | u32 xmm_space[64]; /* 16*16 bytes for each XMM-reg = 256 bytes */ | ||
45 | u32 padding[24]; | ||
46 | } __attribute__ ((aligned (16))); | ||
47 | |||
48 | union i387_union { | ||
49 | struct i387_fxsave_struct fxsave; | ||
50 | }; | ||
51 | 34 | ||
52 | DECLARE_PER_CPU(struct orig_ist, orig_ist); | 35 | DECLARE_PER_CPU(struct orig_ist, orig_ist); |
53 | 36 | ||