diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/highmem.h | 2 | ||||
-rw-r--r-- | arch/arm/mm/highmem.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/include/asm/highmem.h b/arch/arm/include/asm/highmem.h index feb988a7ec37..5aff58126602 100644 --- a/arch/arm/include/asm/highmem.h +++ b/arch/arm/include/asm/highmem.h | |||
@@ -36,7 +36,7 @@ extern void kunmap_high_l1_vipt(struct page *page, pte_t saved_pte); | |||
36 | extern void *kmap(struct page *page); | 36 | extern void *kmap(struct page *page); |
37 | extern void kunmap(struct page *page); | 37 | extern void kunmap(struct page *page); |
38 | extern void *kmap_atomic(struct page *page, enum km_type type); | 38 | extern void *kmap_atomic(struct page *page, enum km_type type); |
39 | extern void kunmap_atomic(void *kvaddr, enum km_type type); | 39 | extern void kunmap_atomic_notypecheck(void *kvaddr, enum km_type type); |
40 | extern void *kmap_atomic_pfn(unsigned long pfn, enum km_type type); | 40 | extern void *kmap_atomic_pfn(unsigned long pfn, enum km_type type); |
41 | extern struct page *kmap_atomic_to_page(const void *ptr); | 41 | extern struct page *kmap_atomic_to_page(const void *ptr); |
42 | #endif | 42 | #endif |
diff --git a/arch/arm/mm/highmem.c b/arch/arm/mm/highmem.c index 6ab244062b4a..1fbdb55bfd1b 100644 --- a/arch/arm/mm/highmem.c +++ b/arch/arm/mm/highmem.c | |||
@@ -82,7 +82,7 @@ void *kmap_atomic(struct page *page, enum km_type type) | |||
82 | } | 82 | } |
83 | EXPORT_SYMBOL(kmap_atomic); | 83 | EXPORT_SYMBOL(kmap_atomic); |
84 | 84 | ||
85 | void kunmap_atomic(void *kvaddr, enum km_type type) | 85 | void kunmap_atomic_notypecheck(void *kvaddr, enum km_type type) |
86 | { | 86 | { |
87 | unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; | 87 | unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; |
88 | unsigned int idx = type + KM_TYPE_NR * smp_processor_id(); | 88 | unsigned int idx = type + KM_TYPE_NR * smp_processor_id(); |
@@ -103,7 +103,7 @@ void kunmap_atomic(void *kvaddr, enum km_type type) | |||
103 | } | 103 | } |
104 | pagefault_enable(); | 104 | pagefault_enable(); |
105 | } | 105 | } |
106 | EXPORT_SYMBOL(kunmap_atomic); | 106 | EXPORT_SYMBOL(kunmap_atomic_notypecheck); |
107 | 107 | ||
108 | void *kmap_atomic_pfn(unsigned long pfn, enum km_type type) | 108 | void *kmap_atomic_pfn(unsigned long pfn, enum km_type type) |
109 | { | 109 | { |