x86/mem_sharing: use INVALID_MFN and p2m_is_shared in relinquish_shared_pages
authorTamas K Lengyel <tamas.lengyel@intel.com>
Fri, 24 Jan 2020 09:25:12 +0000 (10:25 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Jan 2020 09:25:12 +0000 (10:25 +0100)
commit5a9185c395527f4eebd788773c74e269f085bde4
tree9ce2aa544934dee220862d5f76ffa49787bc6d41
parent7f8d062d98c3b4ffbc7496b646bdacb44caac273
x86/mem_sharing: use INVALID_MFN and p2m_is_shared in relinquish_shared_pages

While using _mfn(0) is of no consequence during teardown, INVALID_MFN is the
correct value that should be used.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/mm/mem_sharing.c