tile: remove km_type definitions
Cong Wang [Fri, 25 Nov 2011 14:57:35 +0000 (22:57 +0800)]
Signed-off-by: Cong Wang <amwang@redhat.com>

arch/tile/include/asm/kmap_types.h

index 3d0f202..92b28e3 100644 (file)
  * adds 4MB of required address-space.  For now we leave KM_TYPE_NR
  * set to depth 8.
  */
-enum km_type {
-       KM_TYPE_NR = 8
-};
-
-/*
- * We provide dummy definitions of all the stray values that used to be
- * required for kmap_atomic() and no longer are.
- */
-enum {
-       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_SYNC_ICACHE,
-       KM_SYNC_DCACHE,
-       KM_UML_USERCOPY,
-       KM_IRQ_PTE,
-       KM_NMI,
-       KM_NMI_PTE,
-       KM_KDB
-};
+#define        KM_TYPE_NR 8
 
 #endif /* _ASM_TILE_KMAP_TYPES_H */