ia64/xen-unstable

changeset 13994:8c6d787354d9

[XEN] Set p2m page count-info fields properly on allocation.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Fri Feb 16 13:10:00 2007 +0000 (2007-02-16)
parents d5076a33cbb1
children 0cf659332c3a
files xen/arch/x86/mm/shadow/common.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/common.c	Fri Feb 16 12:34:30 2007 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/common.c	Fri Feb 16 13:10:00 2007 +0000
     1.3 @@ -1070,7 +1070,7 @@ sh_alloc_p2m_pages(struct domain *d)
     1.4           * believed to be a concern.
     1.5           */
     1.6          page_set_owner(&pg[i], d);
     1.7 -        pg->count_info = 1;
     1.8 +        pg[i].count_info = 1;
     1.9          list_add_tail(&pg[i].list, &d->arch.paging.shadow.p2m_freelist);
    1.10      }
    1.11      return 1;