diff options
Diffstat (limited to 'arch/sparc/include/asm/io_64.h')
-rw-r--r-- | arch/sparc/include/asm/io_64.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/io_64.h b/arch/sparc/include/asm/io_64.h index 4aee21dc9c6f..9517d063c79c 100644 --- a/arch/sparc/include/asm/io_64.h +++ b/arch/sparc/include/asm/io_64.h | |||
@@ -468,10 +468,14 @@ static inline void iounmap(volatile void __iomem *addr) | |||
468 | 468 | ||
469 | #define ioread8(X) readb(X) | 469 | #define ioread8(X) readb(X) |
470 | #define ioread16(X) readw(X) | 470 | #define ioread16(X) readw(X) |
471 | #define ioread16be(X) __raw_readw(X) | ||
471 | #define ioread32(X) readl(X) | 472 | #define ioread32(X) readl(X) |
473 | #define ioread32be(X) __raw_readl(X) | ||
472 | #define iowrite8(val,X) writeb(val,X) | 474 | #define iowrite8(val,X) writeb(val,X) |
473 | #define iowrite16(val,X) writew(val,X) | 475 | #define iowrite16(val,X) writew(val,X) |
476 | #define iowrite16be(val,X) __raw_writew(val,X) | ||
474 | #define iowrite32(val,X) writel(val,X) | 477 | #define iowrite32(val,X) writel(val,X) |
478 | #define iowrite32be(val,X) __raw_writel(val,X) | ||
475 | 479 | ||
476 | /* Create a virtual mapping cookie for an IO port range */ | 480 | /* Create a virtual mapping cookie for an IO port range */ |
477 | extern void __iomem *ioport_map(unsigned long port, unsigned int nr); | 481 | extern void __iomem *ioport_map(unsigned long port, unsigned int nr); |