summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-18 01:01:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-18 06:16:07 +0200
commit969560d2afca76823cf97ec4f5c0fb7833e18553 (patch)
treea8377d80752ac35a92226546941734a482d4aa82 /arch/alpha
parentkasan: fix last shadow judgement in memory_is_poisoned_16() (diff)
downloadlinux-969560d2afca76823cf97ec4f5c0fb7833e18553.tar.xz
linux-969560d2afca76823cf97ec4f5c0fb7833e18553.zip
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 <sudip@vectorindia.org> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/include/asm/io.h4
1 files changed, 3 insertions, 1 deletions
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)
{