common/memory: Fix ifdefs for ptdom_max_order
authorLuca Fancellu <luca.fancellu@arm.com>
Wed, 27 Jul 2022 07:22:54 +0000 (09:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 27 Jul 2022 07:22:54 +0000 (09:22 +0200)
commitd77bb6e5375f19c64d182fb7b2e53138152421b5
treee3f4792bdb79757204a9f82ee1ab98a8a21848eb
parent5e3a9b45c74d51c7908f809ca3ff59f18e84ab5d
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>
master commit: 5707470bf3103ebae43697a7ac2faced6cd35f92
master date: 2022-07-26 08:33:46 +0200
xen/common/memory.c