]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/uaccess: get rid of small constant size cases in raw_copy_{to,from}_user()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 9 Feb 2021 14:02:12 +0000 (14:02 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Feb 2021 12:35:35 +0000 (23:35 +1100)
commit6b385d1d7c0a346758e35b128815afa25d4709ee
tree026f08120ba81a37d256ffc07c1f3390b96b0a95
parente3de1e291fa58a1ab0f471a4b458eff2514e4b5f
powerpc/uaccess: get rid of small constant size cases in raw_copy_{to,from}_user()

Copied from commit 4b842e4e25b1 ("x86: get rid of small
constant size cases in raw_copy_{to,from}_user()")

Very few call sites where that would be triggered remain, and none
of those is anywhere near hot enough to bother.

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