[PATCH 9/9] UML - add __raw_writeq definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The x86_64 build requires a definition for __raw_writeq.

Signed-off-by: Jeff Dike <[email protected]>

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux