diff options
Diffstat (limited to 'arch/alpha/include/asm/io.h')
-rw-r--r-- | arch/alpha/include/asm/io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h index 7a3d38d5ed6b..5ebab5895edb 100644 --- a/arch/alpha/include/asm/io.h +++ b/arch/alpha/include/asm/io.h | |||
@@ -489,6 +489,11 @@ extern inline void writeq(u64 b, volatile void __iomem *addr) | |||
489 | } | 489 | } |
490 | #endif | 490 | #endif |
491 | 491 | ||
492 | #define ioread16be(p) be16_to_cpu(ioread16(p)) | ||
493 | #define ioread32be(p) be32_to_cpu(ioread32(p)) | ||
494 | #define iowrite16be(v,p) iowrite16(cpu_to_be16(v), (p)) | ||
495 | #define iowrite32be(v,p) iowrite32(cpu_to_be32(v), (p)) | ||
496 | |||
492 | #define inb_p inb | 497 | #define inb_p inb |
493 | #define inw_p inw | 498 | #define inw_p inw |
494 | #define inl_p inl | 499 | #define inl_p inl |