ia64/xen-unstable

changeset 19122:916ca93a8658

x86: Fix the build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jan 29 23:40:37 2009 +0000 (2009-01-29)
parents 988aee72f73d
children 254021201b1b
files xen/arch/x86/mm/p2m.c
line diff
     1.1 --- a/xen/arch/x86/mm/p2m.c	Thu Jan 29 16:41:48 2009 +0000
     1.2 +++ b/xen/arch/x86/mm/p2m.c	Thu Jan 29 23:40:37 2009 +0000
     1.3 @@ -793,7 +793,8 @@ p2m_pod_zero_check_superpage(struct doma
     1.4       * being allocated to the domain. */
     1.5      for ( i=0; i < (1<<9); i++ )
     1.6      {
     1.7 -        if ( (mfn_to_page(mfn0+i)->count_info & PGC_count_mask) > 1 )
     1.8 +        mfn = _mfn(mfn_x(mfn0) + i);
     1.9 +        if ( (mfn_to_page(mfn)->count_info & PGC_count_mask) > 1 )
    1.10          {
    1.11              reset = 1;
    1.12              goto out_reset;