avr32: Implement {read,write}[bwl]_be
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Wed, 18 Jun 2008 13:36:32 +0000 (15:36 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Wed, 8 Oct 2008 16:44:57 +0000 (18:44 +0200)
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/include/asm/io.h

index a520f77..22c97ef 100644 (file)
@@ -160,6 +160,14 @@ BUILDIO_IOPORT(l, u32)
 #define readw_relaxed                  readw
 #define readl_relaxed                  readl
 
+#define readb_be                       __raw_readb
+#define readw_be                       __raw_readw
+#define readl_be                       __raw_readl
+
+#define writeb_be                      __raw_writeb
+#define writew_be                      __raw_writew
+#define writel_be                      __raw_writel
+
 #define __BUILD_MEMORY_STRING(bwl, type)                               \
 static inline void writes##bwl(volatile void __iomem *addr,            \
                               const void *data, unsigned int count)    \