hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/arch/sh/include/asm/fixmap.h
....@@ -13,6 +13,9 @@
1313 #include <linux/kernel.h>
1414 #include <linux/threads.h>
1515 #include <asm/page.h>
16
+#ifdef CONFIG_HIGHMEM
17
+#include <asm/kmap_types.h>
18
+#endif
1619
1720 /*
1821 * Here we define all the compile-time 'special' virtual
....@@ -50,6 +53,11 @@
5053 FIX_CMAP_BEGIN,
5154 FIX_CMAP_END = FIX_CMAP_BEGIN + (FIX_N_COLOURS * NR_CPUS) - 1,
5255
56
+#ifdef CONFIG_HIGHMEM
57
+ FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */
58
+ FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS) - 1,
59
+#endif
60
+
5361 #ifdef CONFIG_IOREMAP_FIXED
5462 /*
5563 * FIX_IOREMAP entries are useful for mapping physical address