xen/arm: use !CONFIG_NUMA to keep fake NUMA API
authorWei Chen <wei.chen@arm.com>
Fri, 10 Jun 2022 05:53:13 +0000 (13:53 +0800)
committerJulien Grall <jgrall@amazon.com>
Fri, 17 Jun 2022 08:36:12 +0000 (09:36 +0100)
commite8f1c8118f7693be20eab2abcb86d16d12729ba0
tree9f482fcb79711814d43aa2c196420600c02ed7d3
parent1f0a8e28ba00890199e23de3d9d77a6c9593d363
xen/arm: use !CONFIG_NUMA to keep fake NUMA API

We have introduced CONFIG_NUMA in a previous patch. And this
option is enabled only on x86 at the current stage. In a follow
up patch, we will enable this option for Arm. But we still
want users to be able to disable the CONFIG_NUMA via Kconfig. In
this case, keep the fake NUMA API, will make Arm code still
able to work with NUMA aware memory allocation and scheduler.

Signed-off-by: Wei Chen <wei.chen@arm.com>
Tested-by: Jiamei Xie <jiamei.xie@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/include/asm/numa.h