aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 22:53:10 +0800
committerCong Wang <amwang@redhat.com>2012-07-24 15:27:28 +0800
commit4b7a7d889007ec22d4df741cc08ef79583d11189 (patch)
tree1d3fc46c6f0b941327ee23e179a0c45967d1051f /arch/arm/include/asm
parenthighmem: remove the deprecated form of kmap_atomic (diff)
downloadlinux-dev-4b7a7d889007ec22d4df741cc08ef79583d11189.tar.xz
linux-dev-4b7a7d889007ec22d4df741cc08ef79583d11189.zip
arm: remove km_type definitions
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/kmap_types.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/arch/arm/include/asm/kmap_types.h b/arch/arm/include/asm/kmap_types.h
index e51b1e81df05..83eb2f772911 100644
--- a/arch/arm/include/asm/kmap_types.h
+++ b/arch/arm/include/asm/kmap_types.h
@@ -4,30 +4,6 @@
/*
* This is the "bare minimum". AIO seems to require this.
*/
-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_L1_CACHE,
- KM_L2_CACHE,
- KM_KDB,
- KM_TYPE_NR
-};
-
-#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