x86/p2m: the recalc hook is HVM-only
authorJan Beulich <jbeulich@suse.com>
Mon, 3 May 2021 13:28:33 +0000 (15:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 May 2021 13:28:33 +0000 (15:28 +0200)
commitab305d365550a1cd91e58f8a9ff52b980f813380
treec175ed0009b6b5623869d7aed64e5e434b1bbeea
parent594b263511687d27f1492f1277da729a2cc8f024
x86/p2m: the recalc hook is HVM-only

Exclude functions involved in its use from !HVM builds, thus making it
possible to exclude the hook as well.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/mm/p2m-pt.c
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/p2m.h