hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/microblaze/include/asm/fixmap.h
....@@ -20,7 +20,7 @@
2020 #include <asm/page.h>
2121 #ifdef CONFIG_HIGHMEM
2222 #include <linux/threads.h>
23
-#include <asm/kmap_size.h>
23
+#include <asm/kmap_types.h>
2424 #endif
2525
2626 #define FIXADDR_TOP ((unsigned long)(-PAGE_SIZE))
....@@ -47,7 +47,7 @@
4747 FIX_HOLE,
4848 #ifdef CONFIG_HIGHMEM
4949 FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */
50
- FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * num_possible_cpus()) - 1,
50
+ FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * num_possible_cpus()) - 1,
5151 #endif
5252 __end_of_fixed_addresses
5353 };