asm-generic: add nommu implementations of __{get,put}_kernel_nofault
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Sep 2020 05:58:20 +0000 (07:58 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sun, 4 Oct 2020 17:26:57 +0000 (10:26 -0700)
commit2d2d255467d4ea927fbf606c8b584512edee0f7b
tree0decbcb0bf79ac6049f32d1367175f7bb1630362
parent931de11f5a374748f1d620ee17810dedf13c9f69
asm-generic: add nommu implementations of __{get,put}_kernel_nofault

Add native implementations of __{get,put}_kernel_nofault using
{get,put}_unaligned, just like the {get,put}_user implementations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
include/asm-generic/uaccess.h