parisc: Define ioremap_uc and ioremap_wc
authorGuenter Roeck <linux@roeck-us.net>
Sat, 1 Aug 2015 02:34:46 +0000 (19:34 -0700)
committerHelge Deller <deller@gmx.de>
Tue, 8 Sep 2015 13:30:37 +0000 (15:30 +0200)
Commit 3cc2dac5be3f ("drivers/video/fbdev/atyfb: Replace MTRR UC hole
with strong UC") introduces calls to ioremap_wc and ioremap_uc. This
causes build failures with parisc:allmodconfig. Map the missing
functions to ioremap_nocache.

Fixes: 3cc2dac5be3f ("drivers/video/fbdev/atyfb:
Replace MTRR UC hole with strong UC")
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/io.h

index 8cd0abf28ffbbe400a4f5e1c408573085184add2..1a16f1d1075fc93a39bef3fad4c1c24096888d5d 100644 (file)
@@ -137,6 +137,8 @@ static inline void __iomem * ioremap(unsigned long offset, unsigned long size)
        return __ioremap(offset, size, _PAGE_NO_CACHE);
 }
 #define ioremap_nocache(off, sz)       ioremap((off), (sz))
+#define ioremap_wc                     ioremap_nocache
+#define ioremap_uc                     ioremap_nocache
 
 extern void iounmap(const volatile void __iomem *addr);