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)
commit8cdf748d557f15ae6f9e0d4108cc3ea6e1ee4419
tree4ea84c2e7ad6b43e9804b471f128ac3568d59d39
parent937c49d10b4dc8e81ed1a24ffab8d70bba138af1
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