fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-i386 / kmap_types.h
index a117c0a..06707a6 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef _ASM_KMAP_TYPES_H
 #define _ASM_KMAP_TYPES_H
 
-#include <linux/config.h>
 
 #ifdef CONFIG_DEBUG_HIGHMEM
 # define D(n) __KM_FENCE_##n ,
@@ -19,12 +18,16 @@ D(5)        KM_BIO_SRC_IRQ,
 D(6)   KM_BIO_DST_IRQ,
 D(7)   KM_PTE0,
 D(8)   KM_PTE1,
-D(9)   KM_PTE2,
-D(10)  KM_IRQ0,
-D(11)  KM_IRQ1,
-D(12)  KM_SOFTIRQ0,
-D(13)  KM_SOFTIRQ1,
+D(9)   KM_IRQ0,
+D(10)  KM_IRQ1,
+D(11)  KM_SOFTIRQ0,
+D(12)  KM_SOFTIRQ1,
+#ifdef CONFIG_XEN
+D(13)  KM_SWIOTLB,
 D(14)  KM_TYPE_NR
+#else
+D(13)  KM_TYPE_NR
+#endif
 };
 
 #undef D