From: David S. Miller Date: Tue, 22 Jul 2008 21:30:55 +0000 (-0700) Subject: sparc: Fixes the DRM layer build on sparc. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=428695b89831d781ba203d97ee07da68150ea40d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sparc: Fixes the DRM layer build on sparc. By providing an ioremap_wc(). Signed-off-by: David S. Miller --- diff --git a/include/asm-sparc/io_32.h b/include/asm-sparc/io_32.h index c43af722ae8c..10d7da450070 100644 --- a/include/asm-sparc/io_32.h +++ b/include/asm-sparc/io_32.h @@ -244,6 +244,7 @@ _memcpy_toio(volatile void __iomem *dst, const void *src, __kernel_size_t n) */ extern void __iomem *ioremap(unsigned long offset, unsigned long size); #define ioremap_nocache(X,Y) ioremap((X),(Y)) +#define ioremap_wc(X,Y) ioremap((X),(Y)) extern void iounmap(volatile void __iomem *addr); #define ioread8(X) readb(X) diff --git a/include/asm-sparc/io_64.h b/include/asm-sparc/io_64.h index 11daa31cdaf9..0bff078ffdd0 100644 --- a/include/asm-sparc/io_64.h +++ b/include/asm-sparc/io_64.h @@ -460,6 +460,7 @@ static inline void __iomem *ioremap(unsigned long offset, unsigned long size) } #define ioremap_nocache(X,Y) ioremap((X),(Y)) +#define ioremap_wc(X,Y) ioremap((X),(Y)) static inline void iounmap(volatile void __iomem *addr) {