ia64/xen-unstable

changeset 8779:7b2399cb6508

[IA64] zero clear page for pgd, pmd, pte.

xen heap page are not always zero cleared, so that explicit zeroing
is needed.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Thu Feb 09 13:43:39 2006 -0700 (2006-02-09)
parents 9eb9fa8a9933
children ecc8595f2c0b
files xen/arch/ia64/xen/xenmisc.c
line diff
     1.1 --- a/xen/arch/ia64/xen/xenmisc.c	Thu Feb 09 13:35:11 2006 -0700
     1.2 +++ b/xen/arch/ia64/xen/xenmisc.c	Thu Feb 09 13:43:39 2006 -0700
     1.3 @@ -168,7 +168,11 @@ void __free_pages(struct page *page, uns
     1.4  
     1.5  void *pgtable_quicklist_alloc(void)
     1.6  {
     1.7 -	return alloc_xenheap_pages(0);
     1.8 +    void *p;
     1.9 +    p = alloc_xenheap_pages(0);
    1.10 +    if (p) 
    1.11 +        clear_page(p);
    1.12 +    return p;
    1.13  }
    1.14  
    1.15  void pgtable_quicklist_free(void *pgtable_entry)