[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86, p2m: Fix typo in p2m_change_type_global().



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1212658957 -3600
# Node ID 129a511d31ee2c619d5ec902a4f93f383dca245d
# Parent  24c86abbb387c795118648821416848e66481ff8
x86, p2m: Fix typo in p2m_change_type_global().

From: Wei Huang <wei.huang2@xxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/mm/p2m.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 24c86abbb387 -r 129a511d31ee xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c     Thu Jun 05 10:36:19 2008 +0100
+++ b/xen/arch/x86/mm/p2m.c     Thu Jun 05 10:42:37 2008 +0100
@@ -1058,7 +1058,7 @@ void p2m_change_type_global(struct domai
                         continue;
                     mfn = l2e_get_pfn(l2e[i2]);
                     gfn = get_gpfn_from_mfn(mfn);
-                    flags = p2m_flags_to_type(nt);
+                    flags = p2m_type_to_flags(nt);
                     l1e_content = l1e_from_pfn(mfn, flags | _PAGE_PSE);
                     paging_write_p2m_entry(d, gfn, (l1_pgentry_t *)&l2e[i2],
                                            l2mfn, l1e_content, 2);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.