xtensa/mm/highmem: Switch to generic kmap atomic
[linux-2.6-microblaze.git] / arch / xtensa / include / asm / fixmap.h
index a06ffb0..92049b6 100644 (file)
@@ -16,7 +16,7 @@
 #ifdef CONFIG_HIGHMEM
 #include <linux/threads.h>
 #include <linux/pgtable.h>
-#include <asm/kmap_types.h>
+#include <asm/kmap_size.h>
 #endif
 
 /*
@@ -39,7 +39,7 @@ enum fixed_addresses {
        /* reserved pte's for temporary kernel mappings */
        FIX_KMAP_BEGIN,
        FIX_KMAP_END = FIX_KMAP_BEGIN +
-               (KM_TYPE_NR * NR_CPUS * DCACHE_N_COLORS) - 1,
+               (KM_MAX_IDX * NR_CPUS * DCACHE_N_COLORS) - 1,
 #endif
        __end_of_fixed_addresses
 };