]> Git Repo - linux.git/blobdiff - arch/avr32/include/asm/io.h
BUG: headers with BUG/BUG_ON etc. need linux/bug.h
[linux.git] / arch / avr32 / include / asm / io.h
index a520f77ead96e62d02ee2197d85c2a76fa46c9e2..cf60d0a9f1767ca8d8ba8e3e810526539022313f 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __ASM_AVR32_IO_H
 #define __ASM_AVR32_IO_H
 
+#include <linux/bug.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/types.h>
@@ -160,6 +161,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)    \
This page took 0.033456 seconds and 4 git commands to generate.