diff options
author | Chris Dearman <chris@mips.com> | 2007-05-17 16:36:55 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-06-06 14:34:31 -0400 |
commit | f9509c84d8d9451ecd1731e922e7094b38ee336a (patch) | |
tree | ddb9da06ee6a2ff3af2d2aaeb59cc60203396e26 /arch | |
parent | 79894c7b47f78decaa3511f1d6646aa06e2c6bed (diff) |
[MIPS] Remove duplicate fpu enable hazard code.
Use common code from hazards.h instead.
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/r4k_switch.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/r4k_switch.S b/arch/mips/kernel/r4k_switch.S index cc566cf12246..06729596812f 100644 --- a/arch/mips/kernel/r4k_switch.S +++ b/arch/mips/kernel/r4k_switch.S | |||
@@ -174,7 +174,7 @@ LEAF(_init_fpu) | |||
174 | or t0, t1 | 174 | or t0, t1 |
175 | mtc0 t0, CP0_STATUS | 175 | mtc0 t0, CP0_STATUS |
176 | #endif /* CONFIG_MIPS_MT_SMTC */ | 176 | #endif /* CONFIG_MIPS_MT_SMTC */ |
177 | fpu_enable_hazard | 177 | enable_fpu_hazard |
178 | 178 | ||
179 | li t1, FPU_DEFAULT | 179 | li t1, FPU_DEFAULT |
180 | ctc1 t1, fcr31 | 180 | ctc1 t1, fcr31 |