]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/include/asm/stackframe.h
MIPS: Remove r2_emul_return from struct thread_info
[karo-tx-linux.git] / arch / mips / include / asm / stackframe.h
index 2f182bdf024f03044ca3ea541adba311f2cafe8a..6c74a804fe983e76c6c390f5fd02b3911bc7602f 100644 (file)
 
                .macro  RESTORE_SP_AND_RET
                LONG_L  sp, PT_R29(sp)
+#ifdef CONFIG_CPU_MIPSR6
+               eretnc
+#else
                .set    arch=r4000
                eret
                .set    mips0
+#endif
                .endm
 
 #endif