io-mapping: Cleanup atomic iomap
authorThomas Gleixner <tglx@linutronix.de>
Tue, 3 Nov 2020 09:27:32 +0000 (10:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 6 Nov 2020 22:14:58 +0000 (23:14 +0100)
commit351191ad55c8a1eccaf23e4187c62056229c0779
treea0e113a31093789f7213ddd4283b5868b1168be9
parent3c1016b53c311906878c703af1e2b29855a9a962
io-mapping: Cleanup atomic iomap

Switch the atomic iomap implementation over to kmap_local and stick the
preempt/pagefault mechanics into the generic code similar to the
kmap_atomic variants.

Rename the x86 map function in preparation for a non-atomic variant.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linuxfoundation.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/r/20201103095858.625310005@linutronix.de
arch/x86/include/asm/iomap.h
arch/x86/mm/iomap_32.c
include/linux/io-mapping.h