direct-io.hg

changeset 10413:34bdc8d86f8d

[IA64] clean up "assign domain page ... already mapped!" printks

Signed-off-by: Al Stone <ahs3@fc.hp.com>
author awilliam@xenbuild.aw
date Thu Jun 15 08:46:43 2006 -0600 (2006-06-15)
parents 11f228aa783a
children a5bf90abcbe8
files xen/arch/ia64/xen/mm.c
line diff
     1.1 --- a/xen/arch/ia64/xen/mm.c	Thu Jun 15 08:42:34 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/mm.c	Thu Jun 15 08:46:43 2006 -0600
     1.3 @@ -596,12 +596,8 @@ assign_new_domain_page(struct domain *d,
     1.4      pte_t *pte;
     1.5  
     1.6      pte = lookup_alloc_domain_pte(d, mpaddr);
     1.7 -    if (pte_none(*pte)) {
     1.8 +    if (pte_none(*pte))
     1.9          p = __assign_new_domain_page(d, mpaddr, pte);
    1.10 -    } else {
    1.11 -        DPRINTK("%s: d 0x%p mpaddr %lx already mapped!\n",
    1.12 -                __func__, d, mpaddr);
    1.13 -    }
    1.14  
    1.15      return p;
    1.16  #endif
    1.17 @@ -640,8 +636,7 @@ void
    1.18                      pfn_pte(physaddr >> PAGE_SHIFT,
    1.19                              __pgprot(__DIRTY_BITS | _PAGE_PL_2 | arflags)));
    1.20          smp_mb();
    1.21 -    } else
    1.22 -        printk("%s: mpaddr %lx already mapped!\n", __func__, mpaddr);
    1.23 +    }
    1.24  }
    1.25  
    1.26  /* get_page() and map a physical address to the specified metaphysical addr */