diff options
Diffstat (limited to 'include')
-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 1934d9340e2..44e8b8c772a 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) { *(volatile unsigned int __force *) addr = b; } +static inline void writeq(unsigned int b, volatile void __iomem *addr) +{ + *(volatile unsigned long long __force *) addr = b; +} #define __raw_writeb writeb #define __raw_writew writew #define __raw_writel writel +#define __raw_writeq writeq #endif |