summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-07 08:58:23 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-10-04 20:27:08 +0300
commitf289a34811d8fff29f304e14f7edd4576ed9b598 (patch)
tree863b5dd03aa37e5a8d9d8f5e28b4f849cf4b7f04 /drivers/fpga/fpga-mgr.c
parent11129e8ed4d91a062c5062d80f476adc7fbedbac (diff)
downloadlinux-f289a34811d8fff29f304e14f7edd4576ed9b598.tar.xz
riscv: refactor __get_user and __put_user
Add new __get_user_nocheck and __put_user_nocheck that switch on the size and call the actual inline assembly helpers, and move the uaccess enable / disable into the actual __get_user and __put_user. This prepares for natively implementing __get_kernel_nofault and __put_kernel_nofault. Also don't bother with the deprecated register keyword for the error return. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions