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