summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 15:57:25 +0100
committerCong Wang <amwang@redhat.com>2012-07-24 09:27:29 +0200
commit0b1a871c14564177277ff22ab82fd4d114ad3a1e (patch)
tree33412ae92bd36c8704b44e7c7f32bb356dd02ec8 /arch
parentarm: remove km_type definitions (diff)
downloadlinux-0b1a871c14564177277ff22ab82fd4d114ad3a1e.tar.xz
linux-0b1a871c14564177277ff22ab82fd4d114ad3a1e.zip
powerpc: remove km_type definitions
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/kmap_types.h31
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 @@
* 2 of the License, or (at your option) any later version.
*/
-enum km_type {
- KM_BOUNCE_READ,
- KM_SKB_SUNRPC_DATA,
- KM_SKB_DATA_SOFTIRQ,
- KM_USER0,
- KM_USER1,
- KM_BIO_SRC_IRQ,
- KM_BIO_DST_IRQ,
- KM_PTE0,
- KM_PTE1,
- KM_IRQ0,
- KM_IRQ1,
- KM_SOFTIRQ0,
- KM_SOFTIRQ1,
- KM_PPC_SYNC_PAGE,
- KM_PPC_SYNC_ICACHE,
- KM_KDB,
- KM_TYPE_NR
-};
-
-/*
- * This is a temporary build fix that (so they say on lkml....) should no longer
- * be required after 2.6.33, because of changes planned to the kmap code.
- * Let's try to remove this cruft then.
- */
-#ifdef CONFIG_DEBUG_HIGHMEM
-#define KM_NMI (-1)
-#define KM_NMI_PTE (-1)
-#define KM_IRQ_PTE (-1)
-#endif
+#define KM_TYPE_NR 16
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_KMAP_TYPES_H */