OSDN Git Service

powerpc/lib: Don't use __put_user_asm_goto() outside of uaccess.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 10 Mar 2021 17:57:04 +0000 (17:57 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 26 Mar 2021 12:19:42 +0000 (23:19 +1100)
commite63ceebdad82f85e48b018abfc6af4ed6958179e
tree7353e2e26dcdb4bc2b3e50d89f726199ec939af9
parentfd69d544b0e785b11699675154bdfe01a04538cd
powerpc/lib: Don't use __put_user_asm_goto() outside of uaccess.h

__put_user_asm_goto() is internal to uaccess.h

Use __put_kernel_nofault() instead. The generated code is identical.

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