diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-02-15 11:24:27 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-02-25 09:36:05 +0100 |
commit | 90997c128049c75a74bd9ebb852b17e359066541 (patch) | |
tree | 370670f5dc9b812850a8e16a0f5546b00e0aa479 /arch/sparc | |
parent | x86: use more conventional access_ok() definition (diff) | |
download | linux-90997c128049c75a74bd9ebb852b17e359066541.tar.xz linux-90997c128049c75a74bd9ebb852b17e359066541.zip |
nios2: drop access_ok() check from __put_user()
Unlike other architectures, the nios2 version of __put_user() has an
extra check for access_ok(), preventing it from being used to implement
__put_kernel_nofault().
Split up put_user() along the same lines as __get_user()/get_user()
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions