aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/stratix10-soc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-09-07 07:58:23 +0200
committerPalmer Dabbelt <[email protected]>2020-10-04 10:27:08 -0700
commitf289a34811d8fff29f304e14f7edd4576ed9b598 (patch)
tree863b5dd03aa37e5a8d9d8f5e28b4f849cf4b7f04 /drivers/fpga/stratix10-soc.c
parent11129e8ed4d91a062c5062d80f476adc7fbedbac (diff)
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 <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/fpga/stratix10-soc.c')
0 files changed, 0 insertions, 0 deletions