summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authoryalin wang <yalin.wang2010@gmail.com>2015-10-12 10:28:18 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2015-10-13 15:10:25 +0100
commit1b6d7f8742d5d46c478f10c9e57da18d049b116d (patch)
treecd6759512aadcfed0f41cbbc19b06609c9872ec9 /arch/arm64/include
parent83040123fde42ec532d3b632efb5f7f84024e61d (diff)
downloadblackbird-op-linux-1b6d7f8742d5d46c478f10c9e57da18d049b116d.tar.gz
blackbird-op-linux-1b6d7f8742d5d46c478f10c9e57da18d049b116d.zip
arm64: ioremap: add ioremap_cache macro
Add ioremap_cache macro, because some code will test if this macro is defined or not, and will generate a generric version if not defined, for example, memremap.c do like this. Signed-off-by: yalin wang <yalin.wang2010@gmail.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h
index 44be1e03ed65..d6b620c9a112 100644
--- a/arch/arm64/include/asm/io.h
+++ b/arch/arm64/include/asm/io.h
@@ -172,6 +172,7 @@ extern void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size);
#define ioremap_wc(addr, size) __ioremap((addr), (size), __pgprot(PROT_NORMAL_NC))
#define ioremap_wt(addr, size) __ioremap((addr), (size), __pgprot(PROT_DEVICE_nGnRE))
#define iounmap __iounmap
+#define ioremap_cache ioremap_cache
/*
* io{read,write}{16,32}be() macros
OpenPOWER on IntegriCloud