Linux-2.6.12-rc2
[linux-2.6/kvm.git] / include / asm-sh / kmap_types.h
blob2492ba07148f672a1c2224f51f1608dc91b48462
1 #ifndef __SH_KMAP_TYPES_H
2 #define __SH_KMAP_TYPES_H
4 /* Dummy header just to define km_type. */
6 #include <linux/config.h>
8 #ifdef CONFIG_DEBUG_HIGHMEM
9 # define D(n) __KM_FENCE_##n ,
10 #else
11 # define D(n)
12 #endif
14 enum km_type {
15 D(0) KM_BOUNCE_READ,
16 D(1) KM_SKB_SUNRPC_DATA,
17 D(2) KM_SKB_DATA_SOFTIRQ,
18 D(3) KM_USER0,
19 D(4) KM_USER1,
20 D(5) KM_BIO_SRC_IRQ,
21 D(6) KM_BIO_DST_IRQ,
22 D(7) KM_PTE0,
23 D(8) KM_PTE1,
24 D(9) KM_IRQ0,
25 D(10) KM_IRQ1,
26 D(11) KM_SOFTIRQ0,
27 D(12) KM_SOFTIRQ1,
28 D(13) KM_TYPE_NR
31 #undef D
33 #endif