|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.1-testing] p2m: use correct p2m_type_t in clear_m
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1317901938 -3600
# Node ID 1f95ac601974dae3a1b81d907b03a3ee90ec9e01
# Parent d7e0e9f37874cf648e901b5dd5ebdfc455c9a214
p2m: use correct p2m_type_t in clear_mmio_p2m_entry
clear_mmio_p2m_entry() should mark the gfn as invalid.
Use proper name instead of numerical value. The currently used value of
zero means p2m_ram_rw.
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Acked-by: Tim Deegan <tim@xxxxxxx>
Committed-by: Tim Deegan <tim@xxxxxxx>
xen-unstable changeset: 23898:3d1664cc9e45
xen-unstable date: Thu Oct 06 12:52:18 2011 +0100
---
diff -r d7e0e9f37874 -r 1f95ac601974 xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c Mon Oct 03 16:33:29 2011 +0100
+++ b/xen/arch/x86/mm/p2m.c Thu Oct 06 12:52:18 2011 +0100
@@ -2795,7 +2795,7 @@
return 0;
}
p2m_lock(p2m);
- rc = set_p2m_entry(p2m, gfn, _mfn(INVALID_MFN), 0, 0, p2m->default_access);
+ rc = set_p2m_entry(p2m, gfn, _mfn(INVALID_MFN), 0, p2m_invalid,
p2m->default_access);
audit_p2m(p2m, 1);
p2m_unlock(p2m);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.1-testing] p2m: use correct p2m_type_t in clear_mmio_p2m_entry,
Xen patchbot-4 . 1-testing <=
|
|
|
|
|