VTLB_PTE_IO_BIT is not used any more.
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
diff -r f2457c7aff8d xen/arch/ia64/vmx/vmmu.c
--- a/xen/arch/ia64/vmx/vmmu.c Fri Apr 25 20:13:52 2008 +0900
+++ b/xen/arch/ia64/vmx/vmmu.c Fri May 09 19:21:14 2008 +0900
@@ -282,7 +282,7 @@ IA64FAULT vmx_vcpu_itr_d(VCPU *vcpu, u64
#ifdef VTLB_DEBUG
int index;
#endif
- u64 gpfn, gpte;
+ u64 gpfn;
u64 ps, va, rid;
thash_data_t * p_dtr;
@@ -313,9 +313,6 @@ IA64FAULT vmx_vcpu_itr_d(VCPU *vcpu, u64
if (ps != _PAGE_SIZE_16M)
thash_purge_entries(vcpu, va, ps);
gpfn = (pte & _PAGE_PPN_MASK)>> PAGE_SHIFT;
- gpte = lookup_domain_mpa(vcpu->domain, gpfn, NULL);
- if (gpte & _PAGE_IO)
- pte |= VTLB_PTE_IO;
vcpu_get_rr(vcpu, va, &rid);
rid &= RR_RID_MASK;
p_dtr = (thash_data_t *)&vcpu->arch.dtrs[slot];
diff -r f2457c7aff8d xen/include/asm-ia64/vmmu.h
--- a/xen/include/asm-ia64/vmmu.h Fri Apr 25 20:13:52 2008 +0900
+++ b/xen/include/asm-ia64/vmmu.h Fri May 09 19:21:35 2008 +0900
@@ -46,8 +46,6 @@ enum {
#endif /* __ASSEMBLY__ */
#define VTLB_PTE_P_BIT 0
-#define VTLB_PTE_IO_BIT 60
-#define VTLB_PTE_IO (1UL<<VTLB_PTE_IO_BIT)
#define VTLB_PTE_P (1UL<<VTLB_PTE_P_BIT)
#define ITIR_RV_MASK (((1UL<<32)-1)<<32 | 0x3)
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|