diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-10-06 12:52:18 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-10-06 12:52:18 +0100 |
commit | d646af6f05a8f7b89c3e5331111b3c7df024d9cf (patch) | |
tree | efb649486f0b3d0cdb82a5dfa09ab760f1ae8849 | |
parent | 1db9edb835c4045e75f46fbad66408d170616574 (diff) | |
download | xen-d646af6f05a8f7b89c3e5331111b3c7df024d9cf.tar.gz xen-d646af6f05a8f7b89c3e5331111b3c7df024d9cf.tar.bz2 xen-d646af6f05a8f7b89c3e5331111b3c7df024d9cf.zip |
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@aepfle.de>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen-unstable changeset: 23898:3d1664cc9e45
xen-unstable date: Thu Oct 06 12:52:18 2011 +0100
-rw-r--r-- | xen/arch/x86/mm/p2m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c index ce24673ecf..0a4eca1602 100644 --- a/xen/arch/x86/mm/p2m.c +++ b/xen/arch/x86/mm/p2m.c @@ -2795,7 +2795,7 @@ clear_mmio_p2m_entry(struct p2m_domain *p2m, unsigned long gfn) 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); |