nds32/mm/highmem: Switch to generic kmap atomic
authorThomas Gleixner <tglx@linutronix.de>
Tue, 3 Nov 2020 09:27:26 +0000 (10:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 6 Nov 2020 22:14:57 +0000 (23:14 +0100)
commit5f037ea3b26767e0b1bdc522948321b282268b49
treeb6d48640a06f5134849d0b405a89b08f95a03e78
parenta4c33e83bca133ff979e13c784c7605e1ac143df
nds32/mm/highmem: Switch to generic kmap atomic

The mapping code is odd and looks broken. See FIXME in the comment.

Also fix the harmless off by one in the FIX_KMAP_END define.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20201103095857.980576055@linutronix.de
arch/nds32/Kconfig.cpu
arch/nds32/include/asm/fixmap.h
arch/nds32/include/asm/highmem.h
arch/nds32/mm/Makefile
arch/nds32/mm/highmem.c [deleted file]