[PATCH] powerpc/uaccess: Add pre-update addressing to __put_user_asm_goto()
From: Christophe Leroy <hidden>
Date: 2020-09-04 10:47:43
Enable pre-update addressing mode in __put_user_asm_goto() Signed-off-by: Christophe Leroy <redacted> --- arch/powerpc/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/uaccess.h b/arch/powerpc/include/asm/uaccess.h
index 7c2427f237e1..a5cfe867fbdc 100644
--- a/arch/powerpc/include/asm/uaccess.h
+++ b/arch/powerpc/include/asm/uaccess.h@@ -254,7 +254,7 @@ do { \ "1: " op "%U1%X1 %0,%1 # put_user\n" \ EX_TABLE(1b, %l2) \ : \ - : "r" (x), "m" (*addr) \ + : "r" (x), "m<>" (*addr) \ : \ : label)
--
2.25.0