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

[Xen-devel] [PATCH] fix x86_64 domain0 /dev/mem issue


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ling, Xiaofeng" <xiaofeng.ling@xxxxxxxxx>
  • Date: Thu, 28 Jul 2005 21:13:43 +0800
  • Delivery-date: Thu, 28 Jul 2005 13:12:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcWTdi3jmCzje4XzTqykZHQdM5m2CA==
  • Thread-topic: [PATCH] fix x86_64 domain0 /dev/mem issue

fix x86_64 domain0 /dev/mem issue
x86_64 miss the define of ARCH_HAS_DEV_MEM, that cause /drivers/char/mem.c
do not show low 1M memory correctly.

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

diff -r fb5de385a9ee 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      Wed Jul 27 
23:15:15 2005
+++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h      Thu Jul 28 
18:01:44 2005
@@ -369,4 +369,6 @@

 #endif /* __KERNEL__ */

-#endif
+#define ARCH_HAS_DEV_MEM
+
+#endif


-------------------
Ling Xiaofeng(Daniel)
Open Source Technology Center
Intel China Software Center
iNet: 8-752-1243
8621-52574545-1243(O)
xfling@xxxxxxxxxxxxxxxxxxxxx

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


 


Rackspace

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