aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/highmem.h2
-rw-r--r--arch/arm/mm/highmem.c4
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);
36extern void *kmap(struct page *page); 36extern void *kmap(struct page *page);
37extern void kunmap(struct page *page); 37extern void kunmap(struct page *page);
38extern void *kmap_atomic(struct page *page, enum km_type type); 38extern void *kmap_atomic(struct page *page, enum km_type type);
39extern void kunmap_atomic(void *kvaddr, enum km_type type); 39extern void kunmap_atomic_notypecheck(void *kvaddr, enum km_type type);
40extern void *kmap_atomic_pfn(unsigned long pfn, enum km_type type); 40extern void *kmap_atomic_pfn(unsigned long pfn, enum km_type type);
41extern struct page *kmap_atomic_to_page(const void *ptr); 41extern 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}
83EXPORT_SYMBOL(kmap_atomic); 83EXPORT_SYMBOL(kmap_atomic);
84 84
85void kunmap_atomic(void *kvaddr, enum km_type type) 85void 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}
106EXPORT_SYMBOL(kunmap_atomic); 106EXPORT_SYMBOL(kunmap_atomic_notypecheck);
107 107
108void *kmap_atomic_pfn(unsigned long pfn, enum km_type type) 108void *kmap_atomic_pfn(unsigned long pfn, enum km_type type)
109{ 109{