diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 09:57:25 -0500 |
---|---|---|
committer | Cong Wang <amwang@redhat.com> | 2012-07-24 03:27:29 -0400 |
commit | 0b1a871c14564177277ff22ab82fd4d114ad3a1e (patch) | |
tree | 33412ae92bd36c8704b44e7c7f32bb356dd02ec8 | |
parent | 4b7a7d889007ec22d4df741cc08ef79583d11189 (diff) |
powerpc: remove km_type definitions
Signed-off-by: Cong Wang <amwang@redhat.com>
-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 */ |