Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[linux-2.6] / include / asm-x86 / kmap_types.h
1 #ifndef _ASM_X86_KMAP_TYPES_H
2 #define _ASM_X86_KMAP_TYPES_H
3
4 #if defined(CONFIG_X86_32) && defined(CONFIG_DEBUG_HIGHMEM)
5 # define D(n) __KM_FENCE_##n ,
6 #else
7 # define D(n)
8 #endif
9
10 enum km_type {
11 D(0)    KM_BOUNCE_READ,
12 D(1)    KM_SKB_SUNRPC_DATA,
13 D(2)    KM_SKB_DATA_SOFTIRQ,
14 D(3)    KM_USER0,
15 D(4)    KM_USER1,
16 D(5)    KM_BIO_SRC_IRQ,
17 D(6)    KM_BIO_DST_IRQ,
18 D(7)    KM_PTE0,
19 D(8)    KM_PTE1,
20 D(9)    KM_IRQ0,
21 D(10)   KM_IRQ1,
22 D(11)   KM_SOFTIRQ0,
23 D(12)   KM_SOFTIRQ1,
24 D(13)   KM_TYPE_NR
25 };
26
27 #undef D
28
29 #endif