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 /mm/page_poison.c | |
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 <hch@lst.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'mm/page_poison.c')
0 files changed, 0 insertions, 0 deletions