diff options
-rw-r--r-- | arch/powerpc/include/asm/kmap_types.h | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/arch/powerpc/include/asm/kmap_types.h b/arch/powerpc/include/asm/kmap_types.h index bca8fdcd2542..5acabbd7ac6f 100644 --- a/arch/powerpc/include/asm/kmap_types.h +++ b/arch/powerpc/include/asm/kmap_types.h | |||
@@ -10,36 +10,7 @@ | |||
10 | * 2 of the License, or (at your option) any later version. | 10 | * 2 of the License, or (at your option) any later version. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | enum km_type { | 13 | #define KM_TYPE_NR 16 |
14 | KM_BOUNCE_READ, | ||
15 | KM_SKB_SUNRPC_DATA, | ||
16 | KM_SKB_DATA_SOFTIRQ, | ||
17 | KM_USER0, | ||
18 | KM_USER1, | ||
19 | KM_BIO_SRC_IRQ, | ||
20 | KM_BIO_DST_IRQ, | ||
21 | KM_PTE0, | ||
22 | KM_PTE1, | ||
23 | KM_IRQ0, | ||
24 | KM_IRQ1, | ||
25 | KM_SOFTIRQ0, | ||
26 | KM_SOFTIRQ1, | ||
27 | KM_PPC_SYNC_PAGE, | ||
28 | KM_PPC_SYNC_ICACHE, | ||
29 | KM_KDB, | ||
30 | KM_TYPE_NR | ||
31 | }; | ||
32 | |||
33 | /* | ||
34 | * This is a temporary build fix that (so they say on lkml....) should no longer | ||
35 | * be required after 2.6.33, because of changes planned to the kmap code. | ||
36 | * Let's try to remove this cruft then. | ||
37 | */ | ||
38 | #ifdef CONFIG_DEBUG_HIGHMEM | ||
39 | #define KM_NMI (-1) | ||
40 | #define KM_NMI_PTE (-1) | ||
41 | #define KM_IRQ_PTE (-1) | ||
42 | #endif | ||
43 | 14 | ||
44 | #endif /* __KERNEL__ */ | 15 | #endif /* __KERNEL__ */ |
45 | #endif /* _ASM_POWERPC_KMAP_TYPES_H */ | 16 | #endif /* _ASM_POWERPC_KMAP_TYPES_H */ |