common/memory: Fix ifdefs for ptdom_max_order
authorLuca Fancellu <luca.fancellu@arm.com>
Tue, 26 Jul 2022 06:33:46 +0000 (08:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 26 Jul 2022 06:33:46 +0000 (08:33 +0200)
commit5707470bf3103ebae43697a7ac2faced6cd35f92
treecd3a85dbe99580c3dcf37e60338ba77eed16fb22
parentbd0bb8a0058b10ef6039b1a9a20ad982108d295c
common/memory: Fix ifdefs for ptdom_max_order

In common/memory.c the ifdef code surrounding ptdom_max_order is
using HAS_PASSTHROUGH instead of CONFIG_HAS_PASSTHROUGH, fix the
problem using the correct macro.

Fixes: e0d44c1f9461 ("build: convert HAS_PASSTHROUGH use to Kconfig")
Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/memory.c