Messages in this thread Patch in this message | | | Subject | [PATCH 9/9] UML - add __raw_writeq definition | Date | Thu, 29 Jun 2006 17:36:40 -0400 | From | Jeff Dike <> |
| |
The x86_64 build requires a definition for __raw_writeq.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Index: linux-2.6.16/include/asm-um/io.h =================================================================== --- linux-2.6.16.orig/include/asm-um/io.h 2006-03-23 16:40:24.000000000 -0500 +++ linux-2.6.16/include/asm-um/io.h 2006-06-21 17:39:40.000000000 -0400 @@ -45,8 +45,13 @@ static inline void writel(unsigned int b { *(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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |