diff options
Diffstat (limited to 'arch/arm/mm/nommu.c')
-rw-r--r-- | arch/arm/mm/nommu.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 33a45bd96860..3b8e728cc944 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c | |||
@@ -436,6 +436,18 @@ void __iomem *ioremap_wc(resource_size_t res_cookie, size_t size) | |||
436 | } | 436 | } |
437 | EXPORT_SYMBOL(ioremap_wc); | 437 | EXPORT_SYMBOL(ioremap_wc); |
438 | 438 | ||
439 | #ifdef CONFIG_PCI | ||
440 | |||
441 | #include <asm/mach/map.h> | ||
442 | |||
443 | void __iomem *pci_remap_cfgspace(resource_size_t res_cookie, size_t size) | ||
444 | { | ||
445 | return arch_ioremap_caller(res_cookie, size, MT_UNCACHED, | ||
446 | __builtin_return_address(0)); | ||
447 | } | ||
448 | EXPORT_SYMBOL_GPL(pci_remap_cfgspace); | ||
449 | #endif | ||
450 | |||
439 | void *arch_memremap_wb(phys_addr_t phys_addr, size_t size) | 451 | void *arch_memremap_wb(phys_addr_t phys_addr, size_t size) |
440 | { | 452 | { |
441 | return (void *)phys_addr; | 453 | return (void *)phys_addr; |