ia64/xen-unstable

changeset 18765:008b68ff6095

[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@intel.com>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Tue Nov 18 10:33:55 2008 +0900 (2008-11-18)
parents 90dd47269489
children 3dfe1a7c729e
files xen/arch/ia64/vmx/vmx_ivt.S
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmx_ivt.S	Mon Nov 17 11:15:22 2008 +0900
     1.2 +++ b/xen/arch/ia64/vmx/vmx_ivt.S	Tue Nov 18 10:33:55 2008 +0900
     1.3 @@ -314,7 +314,7 @@ vmx_alt_itlb_miss_vmm:
     1.4      movl r19=(((1 << IA64_MAX_PHYS_BITS) - 1) & ~0xfff)
     1.5      ;;
     1.6      and r19=r19,r16     // clear ed, reserved bits, and PTE control bits
     1.7 -    extr.u r18=r16,XEN_VIRT_UC_BIT, 15    // extract UC bit
     1.8 +    extr.u r18=r16,XEN_VIRT_UC_BIT, 1     // extract UC bit
     1.9      ;;
    1.10      or r19=r17,r19      // insert PTE control bits into r19
    1.11      mov r20=IA64_GRANULE_SHIFT<<2