diff options
Diffstat (limited to 'include/asm-um')
-rw-r--r-- | include/asm-um/io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-um/io.h b/include/asm-um/io.h index 1934d9340e2c..44e8b8c772ae 100644 --- a/include/asm-um/io.h +++ b/include/asm-um/io.h | |||
@@ -45,8 +45,13 @@ static inline void writel(unsigned int b, volatile void __iomem *addr) | |||
45 | { | 45 | { |
46 | *(volatile unsigned int __force *) addr = b; | 46 | *(volatile unsigned int __force *) addr = b; |
47 | } | 47 | } |
48 | static inline void writeq(unsigned int b, volatile void __iomem *addr) | ||
49 | { | ||
50 | *(volatile unsigned long long __force *) addr = b; | ||
51 | } | ||
48 | #define __raw_writeb writeb | 52 | #define __raw_writeb writeb |
49 | #define __raw_writew writew | 53 | #define __raw_writew writew |
50 | #define __raw_writel writel | 54 | #define __raw_writel writel |
55 | #define __raw_writeq writeq | ||
51 | 56 | ||
52 | #endif | 57 | #endif |