powerpc/uaccess: Merge __put_user_size_allowed() into __put_user_size()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 9 Feb 2021 14:02:13 +0000 (14:02 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Feb 2021 12:35:35 +0000 (23:35 +1100)
commit95d019e0f9225954e33b6efcad315be9d548a4d7
treeffaeee7be7fb04a0b2edbfb2a58134cf40472a25
parent6b385d1d7c0a346758e35b128815afa25d4709ee
powerpc/uaccess: Merge __put_user_size_allowed() into __put_user_size()

__put_user_size_allowed() is only called from __put_user_size() now.

Merge them together.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b3baeaec1ee2fbdc653bb6fb27b0be5b846163ef.1612879284.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/uaccess.h