aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/io_32.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-03-03 02:30:37 -0800
committerDavid S. Miller <davem@davemloft.net>2010-03-03 02:30:37 -0800
commit1bff4dbb79a2bc0ee4881c8ea6a4fbed64ea6309 (patch)
treed600ec049940bb8af5770f5ad08f94fe3d92dfaf /arch/sparc/include/asm/io_32.h
parentMerge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux (diff)
downloadlinux-dev-1bff4dbb79a2bc0ee4881c8ea6a4fbed64ea6309.tar.xz
linux-dev-1bff4dbb79a2bc0ee4881c8ea6a4fbed64ea6309.zip
sparc: Provide io{read,write}{16,32}be().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/io_32.h')
-rw-r--r--arch/sparc/include/asm/io_32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/io_32.h b/arch/sparc/include/asm/io_32.h
index 679c7504625a..2889574608db 100644
--- a/arch/sparc/include/asm/io_32.h
+++ b/arch/sparc/include/asm/io_32.h
@@ -249,10 +249,14 @@ extern void iounmap(volatile void __iomem *addr);
#define ioread8(X) readb(X)
#define ioread16(X) readw(X)
+#define ioread16be(X) __raw_readw(X)
#define ioread32(X) readl(X)
+#define ioread32be(X) __raw_readl(X)
#define iowrite8(val,X) writeb(val,X)
#define iowrite16(val,X) writew(val,X)
+#define iowrite16be(val,X) __raw_writew(val,X)
#define iowrite32(val,X) writel(val,X)
+#define iowrite32be(val,X) __raw_writel(val,X)
static inline void ioread8_rep(void __iomem *port, void *buf, unsigned long count)
{