]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc/uaccess: Merge raw_copy_to_user_allowed() into raw_copy_to_user()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 9 Feb 2021 14:02:14 +0000 (14:02 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Feb 2021 12:35:35 +0000 (23:35 +1100)
commit052f9d206f6c4b5b512b8c201d375f2dd194be35
tree770dc75f04172da25f78e1f0853ea23855548c1c
parent95d019e0f9225954e33b6efcad315be9d548a4d7
powerpc/uaccess: Merge raw_copy_to_user_allowed() into raw_copy_to_user()

Since commit 17bc43367fc2 ("powerpc/uaccess: Implement
unsafe_copy_to_user() as a simple loop"), raw_copy_to_user_allowed()
is only used by raw_copy_to_user().

Merge raw_copy_to_user_allowed() into raw_copy_to_user().

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