aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/io_32.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-22 17:30:55 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-22 17:30:55 -0400
commit428695b89831d781ba203d97ee07da68150ea40d (patch)
tree86deae4e07caf50e82aa99724c6c404831a35df8 /include/asm-sparc/io_32.h
parent6662327e190a20bd42867f11abca095badee56e1 (diff)
sparc: Fixes the DRM layer build on sparc.
By providing an ioremap_wc(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc/io_32.h')
-rw-r--r--include/asm-sparc/io_32.h1
1 files changed, 1 insertions, 0 deletions
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)
244 */ 244 */
245extern void __iomem *ioremap(unsigned long offset, unsigned long size); 245extern void __iomem *ioremap(unsigned long offset, unsigned long size);
246#define ioremap_nocache(X,Y) ioremap((X),(Y)) 246#define ioremap_nocache(X,Y) ioremap((X),(Y))
247#define ioremap_wc(X,Y) ioremap((X),(Y))
247extern void iounmap(volatile void __iomem *addr); 248extern void iounmap(volatile void __iomem *addr);
248 249
249#define ioread8(X) readb(X) 250#define ioread8(X) readb(X)