--- zzzz-none-000/linux-4.9.218/arch/mips/include/asm/uaccess.h 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/arch/mips/include/asm/uaccess.h 2022-11-30 09:46:19.000000000 +0000 @@ -334,7 +334,7 @@ long __gu_tmp; \ \ __asm__ __volatile__( \ - "1: "insn("%1", "%3")" \n" \ + "1: "insn("%1", "(%3)")" \n" \ "2: \n" \ " .insn \n" \ " .section .fixup,\"ax\" \n" \ @@ -346,7 +346,9 @@ " "__UA_ADDR "\t1b, 3b \n" \ " .previous \n" \ : "=r" (__gu_err), "=r" (__gu_tmp) \ - : "0" (0), "o" (__m(addr)), "i" (-EFAULT)); \ + : "0" (0), "r" (addr), "i" (-EFAULT) \ + : "memory" \ + ); \ \ (val) = (__typeof__(*(addr))) __gu_tmp; \ } @@ -473,7 +475,7 @@ #define __put_data_asm(insn, ptr) \ { \ __asm__ __volatile__( \ - "1: "insn("%z2", "%3")" # __put_data_asm \n" \ + "1: "insn("%z2", "(%3)")" # __put_data_asm \n" \ "2: \n" \ " .insn \n" \ " .section .fixup,\"ax\" \n" \ @@ -484,8 +486,9 @@ " " __UA_ADDR " 1b, 3b \n" \ " .previous \n" \ : "=r" (__pu_err) \ - : "0" (0), "Jr" (__pu_val), "o" (__m(ptr)), \ - "i" (-EFAULT)); \ + : "0" (0), "Jr" (__pu_val), "r" (ptr), \ + "i" (-EFAULT) \ + : "memory" ); \ } #define __put_data_asm_ll32(insn, ptr) \