|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Fix a typo in p2m.c
This is a fix to typo in p2m.c. Courtesy to Xiao Wang
(sirouni@xxxxxxxxxxxx) for pointing out this bug.
===================
diff -r 8d750b7acfa3 xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c Thu Apr 10 11:11:25 2008 +0100
+++ b/xen/arch/x86/mm/p2m.c Thu Apr 10 04:13:59 2008 -0500
@@ -941,7 +941,7 @@ void p2m_change_type_global(struct domai
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);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|