From: Sudip Mukherjee Date: Thu, 17 Sep 2015 23:01:46 +0000 (-0700) Subject: alpha: io: define ioremap_uc X-Git-Tag: v5.15~15047^2~5 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=969560d2afca76823cf97ec4f5c0fb7833e18553;p=mirror_ubuntu-kernels.git alpha: io: define ioremap_uc ioremap_uc was not defined and as a result while building with allmodconfig were getting build error of: implicit declaration of function 'ioremap_uc'. Signed-off-by: Sudip Mukherjee Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h index f05bdb4b1cb9..ff4049155c84 100644 --- a/arch/alpha/include/asm/io.h +++ b/arch/alpha/include/asm/io.h @@ -297,7 +297,9 @@ static inline void __iomem * ioremap_nocache(unsigned long offset, unsigned long size) { return ioremap(offset, size); -} +} + +#define ioremap_uc ioremap_nocache static inline void iounmap(volatile void __iomem *addr) {