sysemu/xen-mapcache: Check Xen availability with CONFIG_XEN_IS_POSSIBLE
commit3e5e5d479eaa1e3ea8535db3ee44eec147f2f1aa
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Nov 2023 12:28:38 +0000 (13 13:28 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Mar 2024 17:51:45 +0000 (9 18:51 +0100)
tree1e1721e430e6136f2ca497f6989b27e6d01f7dc3
parent261bbc3b30973d9adfd46f0d2e315d9dad1707c3
sysemu/xen-mapcache: Check Xen availability with CONFIG_XEN_IS_POSSIBLE

"sysemu/xen.h" defines CONFIG_XEN_IS_POSSIBLE as a target-agnostic
version of CONFIG_XEN accelerator.
Use it in order to use "sysemu/xen-mapcache.h" in target-agnostic files.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20231114143816.71079-4-philmd@linaro.org>
include/sysemu/xen-mapcache.h