[PATCH 9/9] UML - add __raw_writeq definition

From: Jeff Dike
Date: Thu Jun 29 2006 - 17:36:10 EST


The x86_64 build requires a definition for __raw_writeq.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/