commit | 90997c128049c75a74bd9ebb852b17e359066541 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <[email protected]> | Tue Feb 15 11:24:27 2022 +0100 |
committer | Arnd Bergmann <[email protected]> | Fri Feb 25 09:36:05 2022 +0100 |
tree | 370670f5dc9b812850a8e16a0f5546b00e0aa479 | |
parent | 1830a1d6a5b71a0b1fbc05da2ef6f7ea9f0c59f6 [diff] |
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 <[email protected]> Acked-by: Dinh Nguyen <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>