Skip to contentSkip to conversation

UML - add __raw_writeq definition

PATCH In review Jeff Dike 1 participant 1 message Jun 29, 2006 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 9/9 UML - add __raw_writeq definition

The x86_64 build requires a definition for __raw_writeq.

include/asm-um/io.h +5 -0
Index: linux-2.6.16/include/asm-um/io.h
===================================================================
@@ -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

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel