]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/kernel/r4k_switch.S
MIPS: Export _save_fp & _save_msa alongside their definitions
[karo-tx-linux.git] / arch / mips / kernel / r4k_switch.S
index 2f0a3b223c97b11276492e4d763a8a5c00a75d0f..758577861523059a3e2e1f83e947121df094877a 100644 (file)
@@ -12,6 +12,7 @@
  */
 #include <asm/asm.h>
 #include <asm/cachectl.h>
+#include <asm/export.h>
 #include <asm/fpregdef.h>
 #include <asm/mipsregs.h>
 #include <asm/asm-offsets.h>
@@ -75,6 +76,7 @@
  * Save a thread's fp context.
  */
 LEAF(_save_fp)
+EXPORT_SYMBOL(_save_fp)
 #if defined(CONFIG_64BIT) || defined(CONFIG_CPU_MIPS32_R2) || \
                defined(CONFIG_CPU_MIPS32_R6)
        mfc0    t0, CP0_STATUS
@@ -101,6 +103,7 @@ LEAF(_restore_fp)
  * Save a thread's MSA vector context.
  */
 LEAF(_save_msa)
+EXPORT_SYMBOL(_save_msa)
        msa_save_all    a0
        jr      ra
        END(_save_msa)