ia64/xen-unstable

changeset 17437:09903e0e7528

hvm: Fix a typo in p2m.c.

Spotted by Xiao Wang <sirouni@yahoo.com.cn>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 10 16:17:28 2008 +0100 (2008-04-10)
parents 24e3a0ce63f8
children ca2be96f0cc4
files xen/arch/x86/mm/p2m.c
line diff
     1.1 --- a/xen/arch/x86/mm/p2m.c	Thu Apr 10 11:17:50 2008 +0100
     1.2 +++ b/xen/arch/x86/mm/p2m.c	Thu Apr 10 16:17:28 2008 +0100
     1.3 @@ -941,7 +941,7 @@ void p2m_change_type_global(struct domai
     1.4                      mfn = l1e_get_pfn(l1e[i1]);
     1.5                      gfn = get_gpfn_from_mfn(mfn);
     1.6                      /* create a new 1le entry with the new type */
     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);
    1.10                      paging_write_p2m_entry(d, gfn, &l1e[i1],
    1.11                                             l1mfn, l1e_content, 1);