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

[Xen-changelog] [xen-unstable] [IA64] Fix a bug for XEN_VIRT_UC_BIT use.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1226972035 -32400
# Node ID 008b68ff60959e4afa46981995b5ec2ee8caef0e
# Parent  90dd472694894be44cdd7964013fe9be46b4be9c
[IA64] Fix a bug for XEN_VIRT_UC_BIT use.

Only bit0 is used for dep later. So extract only used bit.

Signed-off-by: Zhang Xiantao <xiantao.zhang@xxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_ivt.S |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 90dd47269489 -r 008b68ff6095 xen/arch/ia64/vmx/vmx_ivt.S
--- a/xen/arch/ia64/vmx/vmx_ivt.S       Mon Nov 17 11:15:22 2008 +0900
+++ b/xen/arch/ia64/vmx/vmx_ivt.S       Tue Nov 18 10:33:55 2008 +0900
@@ -314,7 +314,7 @@ vmx_alt_itlb_miss_vmm:
     movl r19=(((1 << IA64_MAX_PHYS_BITS) - 1) & ~0xfff)
     ;;
     and r19=r19,r16     // clear ed, reserved bits, and PTE control bits
-    extr.u r18=r16,XEN_VIRT_UC_BIT, 15    // extract UC bit
+    extr.u r18=r16,XEN_VIRT_UC_BIT, 1     // extract UC bit
     ;;
     or r19=r17,r19      // insert PTE control bits into r19
     mov r20=IA64_GRANULE_SHIFT<<2

_______________________________________________
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®.