tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally

By directly using TCGCPUOps::guest_default_memory_order,
we don't need the TCG_GUEST_DEFAULT_MO definition anymore.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2025-03-21 19:02:35 +01:00 committed by Richard Henderson
parent 0eca13c29a
commit 8201f1a29c
40 changed files with 66 additions and 101 deletions

View file

@ -2671,7 +2671,8 @@ static const struct SysemuCPUOps arm_sysemu_ops = {
#ifdef CONFIG_TCG
static const TCGCPUOps arm_tcg_ops = {
.guest_default_memory_order = TCG_GUEST_DEFAULT_MO,
/* ARM processors have a weak memory model */
.guest_default_memory_order = 0,
.initialize = arm_translate_init,
.translate_code = arm_translate_code,