powerpc/uaccess: Add pre-update addressing to __put_user_asm_goto()

Enable pre-update addressing mode in __put_user_asm_goto()

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/346f65d677adb11865f7762c25a1ca3c64404ba5.1599216023.git.christophe.leroy@csgroup.eu
This commit is contained in:
Christophe Leroy 2020-09-04 10:46:47 +00:00 committed by Michael Ellerman
parent e47168f3d1
commit fcf1f26895
1 changed files with 1 additions and 1 deletions

View File

@ -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)