]> err.no Git - linux-2.6/commitdiff
sparc: Fixes the DRM layer build on sparc.
authorDavid S. Miller <davem@davemloft.net>
Tue, 22 Jul 2008 21:30:55 +0000 (14:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jul 2008 21:30:55 +0000 (14:30 -0700)
By providing an ioremap_wc().

Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc/io_32.h
include/asm-sparc/io_64.h

index c43af722ae8c4d3f2e7e54cb74bb6a5a6e3ab549..10d7da450070c952a8e2094375676067b50752de 100644 (file)
@@ -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)
index 11daa31cdaf994d80546103b1a0909f6fe8531aa..0bff078ffdd05a223060c5a06f9428108949baa5 100644 (file)
@@ -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)
 {