From: yalin wang Date: Mon, 12 Oct 2015 02:28:18 +0000 (+0800) Subject: arm64: ioremap: add ioremap_cache macro X-Git-Tag: v4.4-rc1~26^2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b6d7f8742d5d46c478f10c9e57da18d049b116d;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h index 44be1e0..d6b620c 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