diff options
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/ioremap.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c index 80632e8d7538..024629046f1f 100644 --- a/arch/arm/mm/ioremap.c +++ b/arch/arm/mm/ioremap.c | |||
@@ -306,11 +306,15 @@ __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, | |||
306 | } | 306 | } |
307 | EXPORT_SYMBOL(__arm_ioremap_pfn); | 307 | EXPORT_SYMBOL(__arm_ioremap_pfn); |
308 | 308 | ||
309 | void __iomem * (*arch_ioremap_caller)(unsigned long, size_t, | ||
310 | unsigned int, void *) = | ||
311 | __arm_ioremap_caller; | ||
312 | |||
309 | void __iomem * | 313 | void __iomem * |
310 | __arm_ioremap(unsigned long phys_addr, size_t size, unsigned int mtype) | 314 | __arm_ioremap(unsigned long phys_addr, size_t size, unsigned int mtype) |
311 | { | 315 | { |
312 | return __arm_ioremap_caller(phys_addr, size, mtype, | 316 | return arch_ioremap_caller(phys_addr, size, mtype, |
313 | __builtin_return_address(0)); | 317 | __builtin_return_address(0)); |
314 | } | 318 | } |
315 | EXPORT_SYMBOL(__arm_ioremap); | 319 | EXPORT_SYMBOL(__arm_ioremap); |
316 | 320 | ||
@@ -369,4 +373,11 @@ void __iounmap(volatile void __iomem *io_addr) | |||
369 | 373 | ||
370 | vunmap(addr); | 374 | vunmap(addr); |
371 | } | 375 | } |
372 | EXPORT_SYMBOL(__iounmap); | 376 | |
377 | void (*arch_iounmap)(volatile void __iomem *) = __iounmap; | ||
378 | |||
379 | void __arm_iounmap(volatile void __iomem *io_addr) | ||
380 | { | ||
381 | arch_iounmap(io_addr); | ||
382 | } | ||
383 | EXPORT_SYMBOL(__arm_iounmap); | ||