From: Jeff Dike Date: Fri, 30 Jun 2006 08:55:59 +0000 (-0700) Subject: [PATCH] uml: add __raw_writeq definition X-Git-Tag: v2.6.18-rc1~284 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=92fe15a3d24fa53e7e961c549c488d0bb642d895;p=linux-2.6-omap-h63xx.git [PATCH] uml: add __raw_writeq definition The x86_64 build requires a definition for __raw_writeq. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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