ia64/xen-unstable

changeset 17601:6df8dcf48d9d

[IA64] cleanup: VTLB_PTE_IO_BIT is not used

VTLB_PTE_IO_BIT is not used any more.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon May 12 11:24:47 2008 +0900 (2008-05-12)
parents debc868e380b
children f23e7e07bf1d
files xen/arch/ia64/vmx/vmmu.c xen/include/asm-ia64/vmmu.h
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmmu.c	Fri May 09 18:40:58 2008 +0900
     1.2 +++ b/xen/arch/ia64/vmx/vmmu.c	Mon May 12 11:24:47 2008 +0900
     1.3 @@ -282,7 +282,7 @@ IA64FAULT vmx_vcpu_itr_d(VCPU *vcpu, u64
     1.4  #ifdef VTLB_DEBUG
     1.5      int index;
     1.6  #endif    
     1.7 -    u64 gpfn, gpte;
     1.8 +    u64 gpfn;
     1.9      u64 ps, va, rid;
    1.10      thash_data_t * p_dtr;
    1.11  
    1.12 @@ -313,9 +313,6 @@ IA64FAULT vmx_vcpu_itr_d(VCPU *vcpu, u64
    1.13      if (ps != _PAGE_SIZE_16M)
    1.14          thash_purge_entries(vcpu, va, ps);
    1.15      gpfn = (pte & _PAGE_PPN_MASK)>> PAGE_SHIFT;
    1.16 -    gpte = lookup_domain_mpa(vcpu->domain, gpfn, NULL);
    1.17 -    if (gpte & _PAGE_IO)
    1.18 -        pte |= VTLB_PTE_IO;
    1.19      vcpu_get_rr(vcpu, va, &rid);
    1.20      rid &= RR_RID_MASK;
    1.21      p_dtr = (thash_data_t *)&vcpu->arch.dtrs[slot];
     2.1 --- a/xen/include/asm-ia64/vmmu.h	Fri May 09 18:40:58 2008 +0900
     2.2 +++ b/xen/include/asm-ia64/vmmu.h	Mon May 12 11:24:47 2008 +0900
     2.3 @@ -46,8 +46,6 @@ enum {
     2.4  #endif /* __ASSEMBLY__ */
     2.5  
     2.6  #define VTLB_PTE_P_BIT      0
     2.7 -#define VTLB_PTE_IO_BIT     60
     2.8 -#define VTLB_PTE_IO         (1UL<<VTLB_PTE_IO_BIT)
     2.9  #define VTLB_PTE_P         (1UL<<VTLB_PTE_P_BIT)
    2.10  
    2.11  #define ITIR_RV_MASK            (((1UL<<32)-1)<<32 | 0x3)