]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/uaccess: Remove __get_user_allowed() and unsafe_op_wrap()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 10 Mar 2021 17:46:40 +0000 (17:46 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 3 Apr 2021 10:21:26 +0000 (21:21 +1100)
commit592ef89b2b04c42781f856bf19893314b323815b
tree4ea84c2e7ad6b43e9804b471f128ac3568d59d39
parent1b919e2999c55b58b2cf87e021cecab29c306774
powerpc/uaccess: Remove __get_user_allowed() and unsafe_op_wrap()

Those two macros have only one user which is unsafe_get_user().

Put everything in one place and remove them.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/439179c5e54c18f2cb8bdf1eea13ea0ef6b98375.1615398265.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/uaccess.h