* [PATCH 9/9] UML - add __raw_writeq definition
@ 2006-06-29 21:36 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2006-06-29 21:36 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, user-mode-linux-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-29 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-29 21:36 [PATCH 9/9] UML - add __raw_writeq definition Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®