Merge nommu tree
[linux-2.6] / include / asm-mips / kmap_types.h
1 #ifndef _ASM_KMAP_TYPES_H
2 #define _ASM_KMAP_TYPES_H
3
4 #include <linux/config.h>
5
6 #ifdef CONFIG_DEBUG_HIGHMEM
7 # define D(n) __KM_FENCE_##n ,
8 #else
9 # define D(n)
10 #endif
11
12 enum km_type {
13 D(0)    KM_BOUNCE_READ,
14 D(1)    KM_SKB_SUNRPC_DATA,
15 D(2)    KM_SKB_DATA_SOFTIRQ,
16 D(3)    KM_USER0,
17 D(4)    KM_USER1,
18 D(5)    KM_BIO_SRC_IRQ,
19 D(6)    KM_BIO_DST_IRQ,
20 D(7)    KM_PTE0,
21 D(8)    KM_PTE1,
22 D(9)    KM_IRQ0,
23 D(10)   KM_IRQ1,
24 D(11)   KM_SOFTIRQ0,
25 D(12)   KM_SOFTIRQ1,
26 D(13)   KM_TYPE_NR
27 };
28
29 #undef D
30
31 #endif