]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/kernel/r4k_switch.S
Merge branches 'topic/fix/hda' and 'topic/fix/sound-core' into for-linus
[linux-2.6-omap-h63xx.git] / arch / mips / kernel / r4k_switch.S
index e1b85e6c486a1cd392ba351e6f423325b3593636..d9bfae53c43f92c5a400301bb02bfb3c05bfad92 100644 (file)
@@ -10,7 +10,6 @@
  * Copyright (C) 2000 MIPS Technologies, Inc.
  *    written by Carsten Langgaard, carstenl@mips.com
  */
-#include <linux/config.h>
 #include <asm/asm.h>
 #include <asm/cachectl.h>
 #include <asm/fpregdef.h>
@@ -86,7 +85,7 @@
        move    $28, a2
        cpu_restore_nonscratch a1
 
-       PTR_ADDIU       t0, $28, _THREAD_SIZE - 32
+       PTR_ADD       t0, $28, _THREAD_SIZE - 32
        set_saved_sp    t0, t1, t2
 #ifdef CONFIG_MIPS_MT_SMTC
        /* Read-modify-writes of Status must be atomic on a VPE */
@@ -170,7 +169,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