hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/powerpc/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 #ifdef CONFIG_PPC64
....@@ -61,7 +61,7 @@
6161 FIX_EARLY_DEBUG_BASE = FIX_EARLY_DEBUG_TOP+(ALIGN(SZ_128K, PAGE_SIZE)/PAGE_SIZE)-1,
6262 #ifdef CONFIG_HIGHMEM
6363 FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */
64
- FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1,
64
+ FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1,
6565 #endif
6666 #ifdef CONFIG_PPC_8xx
6767 /* For IMMR we need an aligned 512K area */