]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit985502c06212297fceb961f9a1db3eeb96dff811
tree7353e2e26dcdb4bc2b3e50d89f726199ec939af9
parente612f10058c55007af3a352dbb777c6dd751acaf
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