alpha: Define ioremap_uc and ioremap_wc
PATCH 1/1 alpha: 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 alpha:allmodconfig. Map the missing functions to ioremap_nocache.
Fixes 3cc2dac5be3f ("drivers/video/fbdev/atyfb:
Replace MTRR UC hole with strong UC")
Cc Paul Gortmaker <[email protected]>
Cc Luis R. Rodriguez <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- arch/alpha/include/asm/io.h | 3 +++ 1 file changed, 3 insertions(+)
arch/alpha/include/asm/io.h +3 -0
@@ -299,6 +299,9 @@ static inline void __iomem * ioremap_nocache(unsigned long offset,return ioremap (offset, size); } +#define ioremap_wc ioremap_nocache +#define ioremap_uc ioremap_nocache +static inline void iounmap (volatile void __iomem *addr) {IO_CONCAT (__IO_PREFIX,iounmap)(addr);
Signature · 1 line
2.1.4
Quoted 10 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 alpha:allmodconfig. Map the missing functions toioremap_nocache.Fixes 3cc2dac5be3f ("drivers/video/fbdev/atyfb:Replace MTRR UC hole with strong UC")
Cc Paul Gortmaker <[email protected]>Cc Luis R. Rodriguez <[email protected]>Signed-off-by Guenter Roeck <[email protected]>
ping ... alpha:allmodconfig now fails to build in mainline due to this problem.
Guenter
Quoted 28 lines
--- arch/alpha/include/asm/io.h | 3 +++ 1 file changed, 3 insertions(+)arch/alpha/include/asm/io.h +3
-0@@ -299,6 +299,9 @@ static inline void __iomem * ioremap_nocache(unsigned long offset,return ioremap (offset, size); } +#define ioremap_wc ioremap_nocache +#define ioremap_uc ioremap_nocache +static inline void iounmap (volatile void __iomem *addr) {IO_CONCAT (__IO_PREFIX,iounmap)(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/