diff options
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/include/asm/kmap_types.h | 31 | ||||
-rw-r--r-- | arch/tile/mm/highmem.c | 2 |
2 files changed, 2 insertions, 31 deletions
diff --git a/arch/tile/include/asm/kmap_types.h b/arch/tile/include/asm/kmap_types.h index 3d0f20246260..92b28e3e9972 100644 --- a/arch/tile/include/asm/kmap_types.h +++ b/arch/tile/include/asm/kmap_types.h | |||
@@ -23,35 +23,6 @@ | |||
23 | * adds 4MB of required address-space. For now we leave KM_TYPE_NR | 23 | * adds 4MB of required address-space. For now we leave KM_TYPE_NR |
24 | * set to depth 8. | 24 | * set to depth 8. |
25 | */ | 25 | */ |
26 | enum km_type { | 26 | #define KM_TYPE_NR 8 |
27 | KM_TYPE_NR = 8 | ||
28 | }; | ||
29 | |||
30 | /* | ||
31 | * We provide dummy definitions of all the stray values that used to be | ||
32 | * required for kmap_atomic() and no longer are. | ||
33 | */ | ||
34 | enum { | ||
35 | KM_BOUNCE_READ, | ||
36 | KM_SKB_SUNRPC_DATA, | ||
37 | KM_SKB_DATA_SOFTIRQ, | ||
38 | KM_USER0, | ||
39 | KM_USER1, | ||
40 | KM_BIO_SRC_IRQ, | ||
41 | KM_BIO_DST_IRQ, | ||
42 | KM_PTE0, | ||
43 | KM_PTE1, | ||
44 | KM_IRQ0, | ||
45 | KM_IRQ1, | ||
46 | KM_SOFTIRQ0, | ||
47 | KM_SOFTIRQ1, | ||
48 | KM_SYNC_ICACHE, | ||
49 | KM_SYNC_DCACHE, | ||
50 | KM_UML_USERCOPY, | ||
51 | KM_IRQ_PTE, | ||
52 | KM_NMI, | ||
53 | KM_NMI_PTE, | ||
54 | KM_KDB | ||
55 | }; | ||
56 | 27 | ||
57 | #endif /* _ASM_TILE_KMAP_TYPES_H */ | 28 | #endif /* _ASM_TILE_KMAP_TYPES_H */ |
diff --git a/arch/tile/mm/highmem.c b/arch/tile/mm/highmem.c index ef8e5a62b6e3..347d123b14be 100644 --- a/arch/tile/mm/highmem.c +++ b/arch/tile/mm/highmem.c | |||
@@ -93,7 +93,7 @@ static DEFINE_PER_CPU(struct kmap_amps, amps); | |||
93 | * If we examine it earlier we are exposed to a race where it looks | 93 | * If we examine it earlier we are exposed to a race where it looks |
94 | * writable earlier, but becomes immutable before we write the PTE. | 94 | * writable earlier, but becomes immutable before we write the PTE. |
95 | */ | 95 | */ |
96 | static void kmap_atomic_register(struct page *page, enum km_type type, | 96 | static void kmap_atomic_register(struct page *page, int type, |
97 | unsigned long va, pte_t *ptep, pte_t pteval) | 97 | unsigned long va, pte_t *ptep, pte_t pteval) |
98 | { | 98 | { |
99 | unsigned long flags; | 99 | unsigned long flags; |