]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: use non-set_fs based maccess routines
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Sep 2020 14:22:41 +0000 (16:22 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 9 Sep 2020 02:21:36 +0000 (22:21 -0400)
commit2527a7385307949d37de1781462e09291817c971
treedee16f97a31c37d5a40e12e16729e820aa2f5e05
parenteb726fd3165852fdab29de7f4477e5e16c0d6f4d
powerpc: use non-set_fs based maccess routines

Provide __get_kernel_nofault and __put_kernel_nofault routines to
implement the maccess routines without messing with set_fs and without
opening up access to user space.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/include/asm/uaccess.h