]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Remove duplicate fpu enable hazard code.
authorChris Dearman <chris@mips.com>
Thu, 17 May 2007 20:36:55 +0000 (21:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 6 Jun 2007 18:34:31 +0000 (19:34 +0100)
Use common code from hazards.h instead.

Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/r4k_switch.S
include/asm-mips/asmmacro.h

index cc566cf122464f8672685766dd595bc8cc50cceb..06729596812f744581cce609938fee82d36d25cc 100644 (file)
@@ -174,7 +174,7 @@ LEAF(_init_fpu)
        or      t0, t1
        mtc0    t0, CP0_STATUS
 #endif /* CONFIG_MIPS_MT_SMTC */
-       fpu_enable_hazard
+       enable_fpu_hazard
 
        li      t1, FPU_DEFAULT
        ctc1    t1, fcr31
index 92e62ef711edbac3d7aeedd7d73ffcccfc705fa4..c5f20df780e927e3146137989000ce0f0b39db9e 100644 (file)
        .endm
 #endif /* CONFIG_MIPS_MT_SMTC */
 
-#ifdef CONFIG_CPU_SB1
-       .macro  fpu_enable_hazard
-       .set    push
-       .set    noreorder
-       .set    mips2
-       SSNOP
-       bnezl   $0, .+4
-        SSNOP
-       .set    pop
-       .endm
-#else
-       .macro  fpu_enable_hazard
-       .endm
-#endif
-
 /*
  * Temporary until all gas have MT ASE support
  */