diff options
Diffstat (limited to 'include/asm-mips/processor.h')
-rw-r--r-- | include/asm-mips/processor.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/include/asm-mips/processor.h b/include/asm-mips/processor.h index 532df530b4e..5f80ba71ab9 100644 --- a/include/asm-mips/processor.h +++ b/include/asm-mips/processor.h | |||
@@ -70,11 +70,6 @@ extern unsigned int vced_count, vcei_count; | |||
70 | 70 | ||
71 | typedef __u64 fpureg_t; | 71 | typedef __u64 fpureg_t; |
72 | 72 | ||
73 | struct mips_fpu_hard_struct { | ||
74 | fpureg_t fpr[NUM_FPU_REGS]; | ||
75 | unsigned int fcr31; | ||
76 | }; | ||
77 | |||
78 | /* | 73 | /* |
79 | * It would be nice to add some more fields for emulator statistics, but there | 74 | * It would be nice to add some more fields for emulator statistics, but there |
80 | * are a number of fixed offsets in offset.h and elsewhere that would have to | 75 | * are a number of fixed offsets in offset.h and elsewhere that would have to |
@@ -82,18 +77,13 @@ struct mips_fpu_hard_struct { | |||
82 | * the FPU emulator for now. See asm-mips/fpu_emulator.h. | 77 | * the FPU emulator for now. See asm-mips/fpu_emulator.h. |
83 | */ | 78 | */ |
84 | 79 | ||
85 | struct mips_fpu_soft_struct { | 80 | struct mips_fpu_struct { |
86 | fpureg_t fpr[NUM_FPU_REGS]; | 81 | fpureg_t fpr[NUM_FPU_REGS]; |
87 | unsigned int fcr31; | 82 | unsigned int fcr31; |
88 | }; | 83 | }; |
89 | 84 | ||
90 | union mips_fpu_union { | ||
91 | struct mips_fpu_hard_struct hard; | ||
92 | struct mips_fpu_soft_struct soft; | ||
93 | }; | ||
94 | |||
95 | #define INIT_FPU { \ | 85 | #define INIT_FPU { \ |
96 | {{0,},} \ | 86 | {0,} \ |
97 | } | 87 | } |
98 | 88 | ||
99 | #define NUM_DSP_REGS 6 | 89 | #define NUM_DSP_REGS 6 |
@@ -132,7 +122,7 @@ struct thread_struct { | |||
132 | unsigned long cp0_status; | 122 | unsigned long cp0_status; |
133 | 123 | ||
134 | /* Saved fpu/fpu emulator stuff. */ | 124 | /* Saved fpu/fpu emulator stuff. */ |
135 | union mips_fpu_union fpu; | 125 | struct mips_fpu_struct fpu; |
136 | #ifdef CONFIG_MIPS_MT_FPAFF | 126 | #ifdef CONFIG_MIPS_MT_FPAFF |
137 | /* Emulated instruction count */ | 127 | /* Emulated instruction count */ |
138 | unsigned long emulated_fp; | 128 | unsigned long emulated_fp; |