OSDN Git Service

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)
commitc33165253492b91337f88c84b11733a4a2d55b60
treedee16f97a31c37d5a40e12e16729e820aa2f5e05
parent47058bb54b57962b3958a936ddbc59355e4c5504
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