powerpc/uaccess: Switch __patch_instruction() to __put_user_asm_goto()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 4 Sep 2020 11:01:31 +0000 (11:01 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Sep 2020 12:13:32 +0000 (22:13 +1000)
commite64ac41ab0c510b3f85199a585eb886cad92fb19
tree67c0cec78ff3abe12e91931e715412c15c9e9a3a
parentee0a49a6870ea75e25b4d4984c1bb6b3b7c65f2b
powerpc/uaccess: Switch __patch_instruction() to __put_user_asm_goto()

__patch_instruction() is the only user of __put_user_asm() outside
of asm/uaccess.h

Switch to the new __put_user_asm_goto() to enable retirement of
__put_user_asm() in a later patch.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b9745b122f4a9ae72cef445c61320022ab8b77b7.1599216721.git.christophe.leroy@csgroup.eu
arch/powerpc/lib/code-patching.c