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

[Xen-changelog] fix x86_64 domain0 /dev/mem issue



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 0474ffc52ba79c5803a3cbe33380c555f71372dd
# Parent  dd1c092a7ee2f54f5f96ba7f090b0c6bbdfdb0fa
fix x86_64 domain0 /dev/mem issue
x86_64 miss the define of ARCH_HAS_DEV_MEM, that causes
/drivers/char/mem.c to not show low 1M memory correctly.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@xxxxxxxxx>

diff -r dd1c092a7ee2 -r 0474ffc52ba7 
linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h
--- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h      Thu Jul 28 
21:32:13 2005
+++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h      Fri Jul 29 
10:22:03 2005
@@ -369,4 +369,6 @@
 
 #endif /* __KERNEL__ */
 
-#endif
+#define ARCH_HAS_DEV_MEM
+
+#endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.