ia64/xen-unstable

changeset 17788:129a511d31ee

x86, p2m: Fix typo in p2m_change_type_global().

From: Wei Huang <wei.huang2@amd.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 05 10:42:37 2008 +0100 (2008-06-05)
parents 24c86abbb387
children 31a941632a5d
files xen/arch/x86/mm/p2m.c
line diff
     1.1 --- a/xen/arch/x86/mm/p2m.c	Thu Jun 05 10:36:19 2008 +0100
     1.2 +++ b/xen/arch/x86/mm/p2m.c	Thu Jun 05 10:42:37 2008 +0100
     1.3 @@ -1058,7 +1058,7 @@ void p2m_change_type_global(struct domai
     1.4                          continue;
     1.5                      mfn = l2e_get_pfn(l2e[i2]);
     1.6                      gfn = get_gpfn_from_mfn(mfn);
     1.7 -                    flags = p2m_flags_to_type(nt);
     1.8 +                    flags = p2m_type_to_flags(nt);
     1.9                      l1e_content = l1e_from_pfn(mfn, flags | _PAGE_PSE);
    1.10                      paging_write_p2m_entry(d, gfn, (l1_pgentry_t *)&l2e[i2],
    1.11                                             l2mfn, l1e_content, 2);