diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-08-11 10:54:13 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-08-11 10:54:13 -0400 |
commit | b77c49ab6d9bfe4d8207e1df72a1978fdd0a96b8 (patch) | |
tree | 5ee968e4781666f008eb671019ce0293d607a859 /arch/tile/mm/highmem.c | |
parent | bae918ac280f01a4fa89b570643def7bb276f597 (diff) |
arch/tile: support new kunmap_atomic() naming convention.
See commit 597781f3e51f48ef8e67be772196d9e9673752c4.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/mm/highmem.c')
-rw-r--r-- | arch/tile/mm/highmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/tile/mm/highmem.c b/arch/tile/mm/highmem.c index ff1cdff5114d..12ab137e7d4f 100644 --- a/arch/tile/mm/highmem.c +++ b/arch/tile/mm/highmem.c | |||
@@ -276,7 +276,7 @@ void *kmap_atomic(struct page *page, enum km_type type) | |||
276 | } | 276 | } |
277 | EXPORT_SYMBOL(kmap_atomic); | 277 | EXPORT_SYMBOL(kmap_atomic); |
278 | 278 | ||
279 | void kunmap_atomic(void *kvaddr, enum km_type type) | 279 | void kunmap_atomic_notypecheck(void *kvaddr, enum km_type type) |
280 | { | 280 | { |
281 | unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; | 281 | unsigned long vaddr = (unsigned long) kvaddr & PAGE_MASK; |
282 | enum fixed_addresses idx = type + KM_TYPE_NR*smp_processor_id(); | 282 | enum fixed_addresses idx = type + KM_TYPE_NR*smp_processor_id(); |
@@ -300,7 +300,7 @@ void kunmap_atomic(void *kvaddr, enum km_type type) | |||
300 | arch_flush_lazy_mmu_mode(); | 300 | arch_flush_lazy_mmu_mode(); |
301 | pagefault_enable(); | 301 | pagefault_enable(); |
302 | } | 302 | } |
303 | EXPORT_SYMBOL(kunmap_atomic); | 303 | EXPORT_SYMBOL(kunmap_atomic_notypecheck); |
304 | 304 | ||
305 | /* | 305 | /* |
306 | * This API is supposed to allow us to map memory without a "struct page". | 306 | * This API is supposed to allow us to map memory without a "struct page". |