diff options
Diffstat (limited to 'arch/microblaze/include/asm/io.h')
-rw-r--r-- | arch/microblaze/include/asm/io.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h index 00b5398d08c7..8cdac14b55b0 100644 --- a/arch/microblaze/include/asm/io.h +++ b/arch/microblaze/include/asm/io.h | |||
@@ -70,7 +70,7 @@ static inline void __raw_writeq(unsigned long v, volatile void __iomem *addr) | |||
70 | 70 | ||
71 | /* | 71 | /* |
72 | * read (readb, readw, readl, readq) and write (writeb, writew, | 72 | * read (readb, readw, readl, readq) and write (writeb, writew, |
73 | * writel, writeq) accessors are for PCI and thus littel endian. | 73 | * writel, writeq) accessors are for PCI and thus little endian. |
74 | * Linux 2.4 for Microblaze had this wrong. | 74 | * Linux 2.4 for Microblaze had this wrong. |
75 | */ | 75 | */ |
76 | static inline unsigned char readb(const volatile void __iomem *addr) | 76 | static inline unsigned char readb(const volatile void __iomem *addr) |
@@ -243,6 +243,8 @@ static inline void __iomem *__ioremap(phys_addr_t address, unsigned long size, | |||
243 | #define out_8(a, v) __raw_writeb((v), (a)) | 243 | #define out_8(a, v) __raw_writeb((v), (a)) |
244 | #define in_8(a) __raw_readb(a) | 244 | #define in_8(a) __raw_readb(a) |
245 | 245 | ||
246 | #define mmiowb() | ||
247 | |||
246 | #define ioport_map(port, nr) ((void __iomem *)(port)) | 248 | #define ioport_map(port, nr) ((void __iomem *)(port)) |
247 | #define ioport_unmap(addr) | 249 | #define ioport_unmap(addr) |
248 | 250 | ||