--- zzzz-none-000/linux-4.4.60/arch/mips/include/asm/stackframe.h 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/arch/mips/include/asm/stackframe.h 2021-02-04 17:41:59.000000000 +0000 @@ -357,7 +357,7 @@ .macro RESTORE_SP_AND_RET LONG_L sp, PT_R29(sp) - .set arch=r4000 + .set mips64r2 eret .set mips0 .endm