parisc: Define ioremap_uc and ioremap_wc
PATCH 1/1 parisc: Define ioremap_uc and ioremap_wc
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 <[email protected]>
Cc Paul Gortmaker <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- arch/parisc/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+)
arch/parisc/include/asm/io.h +2 -0
@@ -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_nocacheextern void iounmap (const volatile void __iomem *addr);
Signature · 1 line
2.1.4
ping ... the problem fixed with this patch still affects next-20150821.
Guenter
Quoted 37 lines · Guenter Roeck
Commit
3cc2dac5be3f("drivers/video/fbdev/atyfb: Replace MTRR UC hole with strong UC") introduces calls toioremap_wcandioremap_uc. This causes build failures with parisc:allmodconfig. Map the missing functions toioremap_nocache.Fixes 3cc2dac5be3f ("drivers/video/fbdev/atyfb:Replace MTRR UC hole with strong UC")
Cc Luis R. Rodriguez <[email protected]>Cc Paul Gortmaker <[email protected]>Signed-off-by Guenter Roeck <[email protected]>--- arch/parisc/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+)arch/parisc/include/asm/io.h +2
-0@@ -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_nocacheextern void iounmap (const volatile void __iomem *addr);Signature · 7 lines
2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/