diff options
Diffstat (limited to 'arch/sparc/mm/highmem.c')
-rw-r--r-- | arch/sparc/mm/highmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/mm/highmem.c b/arch/sparc/mm/highmem.c index 7916feba6e4a..e139e9cbf5f7 100644 --- a/arch/sparc/mm/highmem.c +++ b/arch/sparc/mm/highmem.c | |||
@@ -65,7 +65,7 @@ void *kmap_atomic(struct page *page, enum km_type type) | |||
65 | } | 65 | } |
66 | EXPORT_SYMBOL(kmap_atomic); | 66 | EXPORT_SYMBOL(kmap_atomic); |
67 | 67 | ||
68 | void kunmap_atomic(void *kvaddr, enum km_type type) | 68 | void kunmap_atomic_notypecheck(void *kvaddr, enum km_type type) |
69 | { | 69 | { |
70 | #ifdef CONFIG_DEBUG_HIGHMEM | 70 | #ifdef CONFIG_DEBUG_HIGHMEM |
71 | unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; | 71 | unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; |
@@ -100,7 +100,7 @@ void kunmap_atomic(void *kvaddr, enum km_type type) | |||
100 | 100 | ||
101 | pagefault_enable(); | 101 | pagefault_enable(); |
102 | } | 102 | } |
103 | EXPORT_SYMBOL(kunmap_atomic); | 103 | EXPORT_SYMBOL(kunmap_atomic_notypecheck); |
104 | 104 | ||
105 | /* We may be fed a pagetable here by ptep_to_xxx and others. */ | 105 | /* We may be fed a pagetable here by ptep_to_xxx and others. */ |
106 | struct page *kmap_atomic_to_page(void *ptr) | 106 | struct page *kmap_atomic_to_page(void *ptr) |