Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[linux-2.6] / include / asm-sh / kmap_types.h
1 #ifndef __SH_KMAP_TYPES_H
2 #define __SH_KMAP_TYPES_H
3
4 /* Dummy header just to define km_type. */
5
6
7 #ifdef CONFIG_DEBUG_HIGHMEM
8 # define D(n) __KM_FENCE_##n ,
9 #else
10 # define D(n)
11 #endif
12
13 enum km_type {
14 D(0)    KM_BOUNCE_READ,
15 D(1)    KM_SKB_SUNRPC_DATA,
16 D(2)    KM_SKB_DATA_SOFTIRQ,
17 D(3)    KM_USER0,
18 D(4)    KM_USER1,
19 D(5)    KM_BIO_SRC_IRQ,
20 D(6)    KM_BIO_DST_IRQ,
21 D(7)    KM_PTE0,
22 D(8)    KM_PTE1,
23 D(9)    KM_IRQ0,
24 D(10)   KM_IRQ1,
25 D(11)   KM_SOFTIRQ0,
26 D(12)   KM_SOFTIRQ1,
27 D(13)   KM_TYPE_NR
28 };
29
30 #undef D
31
32 #endif