diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-06-18 15:36:32 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-10-08 18:44:57 +0200 |
commit | 520bab804e3fe4868890980a55fe785f1b8a55e5 (patch) | |
tree | 9ddfcc260071d04f838616e9b600ced2896f8500 /arch/avr32/include | |
parent | avr32: Replace static clock list with dynamic linked list (diff) | |
download | linux-520bab804e3fe4868890980a55fe785f1b8a55e5.tar.xz linux-520bab804e3fe4868890980a55fe785f1b8a55e5.zip |
avr32: Implement {read,write}[bwl]_be
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/include')
-rw-r--r-- | arch/avr32/include/asm/io.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/io.h b/arch/avr32/include/asm/io.h index a520f77ead96..22c97ef92201 100644 --- a/arch/avr32/include/asm/io.h +++ b/arch/avr32/include/asm/io.h @@ -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) \ |