]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: Provide __{get,put}_kernel_nofault
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Sep 2021 07:04:04 +0000 (09:04 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 24 Sep 2021 11:35:07 +0000 (13:35 +0200)
commite69374145f11c7c5731009d6687a52c9845e194e
tree79287dcc9fee81f455ed8636d1f13f3bb45770c3
parent06d7e01c42c596ccd425e5932c2e212631d034cf
m68k: Provide __{get,put}_kernel_nofault

Allow non-faulting access to kernel addresses without overriding the
address space.  Implemented by passing the instruction name to the
low-level assembly macros as an argument, and force the use of the
normal move instructions for kernel access.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Link: https://lore.kernel.org/r/20210916070405.52750-6-hch@lst.de
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/uaccess.h