diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-11-03 10:27:23 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-11-06 23:14:56 +0100 |
commit | 5af627a043e39d3226eecd75753dcd2c920c16ec (patch) | |
tree | e6db78c3d4a3154f6aaae6d62ccf3b850de1b51a /arch/csky/include/asm/fixmap.h | |
parent | ARM: highmem: Switch to generic kmap atomic (diff) | |
download | linux-5af627a043e39d3226eecd75753dcd2c920c16ec.tar.xz linux-5af627a043e39d3226eecd75753dcd2c920c16ec.zip |
csky/mm/highmem: Switch to generic kmap atomic
No reason having the same code in every architecture.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Guo Ren <guoren@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20201103095857.681196473@linutronix.de
Diffstat (limited to 'arch/csky/include/asm/fixmap.h')
-rw-r--r-- | arch/csky/include/asm/fixmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/csky/include/asm/fixmap.h b/arch/csky/include/asm/fixmap.h index 81f9477d5330..4b589cc20900 100644 --- a/arch/csky/include/asm/fixmap.h +++ b/arch/csky/include/asm/fixmap.h @@ -8,7 +8,7 @@ #include <asm/memory.h> #ifdef CONFIG_HIGHMEM #include <linux/threads.h> -#include <asm/kmap_types.h> +#include <asm/kmap_size.h> #endif enum fixed_addresses { @@ -17,7 +17,7 @@ enum fixed_addresses { #endif #ifdef CONFIG_HIGHMEM FIX_KMAP_BEGIN, - FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS) - 1, + FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1, #endif __end_of_fixed_addresses }; |