summaryrefslogtreecommitdiff
path: root/arch/nds32/Kconfig.cpu
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-11-03 10:27:26 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-11-06 23:14:57 +0100
commit5f037ea3b26767e0b1bdc522948321b282268b49 (patch)
treeb6d48640a06f5134849d0b405a89b08f95a03e78 /arch/nds32/Kconfig.cpu
parenta4c33e83bca133ff979e13c784c7605e1ac143df (diff)
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
Diffstat (limited to 'arch/nds32/Kconfig.cpu')
-rw-r--r--arch/nds32/Kconfig.cpu1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nds32/Kconfig.cpu b/arch/nds32/Kconfig.cpu
index f88a12fdf0f3..c10759952485 100644
--- a/arch/nds32/Kconfig.cpu
+++ b/arch/nds32/Kconfig.cpu
@@ -157,6 +157,7 @@ config HW_SUPPORT_UNALIGNMENT_ACCESS
config HIGHMEM
bool "High Memory Support"
depends on MMU && !CPU_CACHE_ALIASING
+ select KMAP_LOCAL
help
The address space of Andes processors is only 4 Gigabytes large
and it has to accommodate user address space, kernel address