]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
hvm: Fix a typo in p2m.c.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Apr 2008 15:20:05 +0000 (16:20 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Apr 2008 15:20:05 +0000 (16:20 +0100)
Spotted by Xiao Wang <sirouni@yahoo.com.cn>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen-unstable changeset:   17435:09903e0e75287a1920733e4df1f51e7b9a7b9c5d
xen-unstable date:        Thu Apr 10 16:17:28 2008 +0100

xen/arch/x86/mm/p2m.c

index 09d376b8a9aba877b2a6d6e05378d15c3d80df8a..13a5e5da55a4fdea8c0fd2498460a6eb53548956 100644 (file)
@@ -839,7 +839,7 @@ void p2m_change_type_global(struct domain *d, p2m_type_t ot, p2m_type_t nt)
                     mfn = l1e_get_pfn(l1e[i1]);
                     gfn = get_gpfn_from_mfn(mfn);
                     /* create a new 1le entry with the new type */
-                    flags = p2m_flags_to_type(nt);
+                    flags = p2m_type_to_flags(nt);
                     l1e_content = l1e_from_pfn(mfn, flags);
                     paging_write_p2m_entry(d, gfn, &l1e[i1],
                                            l1mfn, l1e_content, 1);