From cfac5cdff51ba72780a22bc63a7c8092c8761af3 Mon Sep 17 00:00:00 2001 From: Pierrick Bouvier Date: Mon, 17 Mar 2025 11:34:00 -0700 Subject: exec/tswap: target code can use TARGET_BIG_ENDIAN instead of target_words_bigendian() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Signed-off-by: Richard Henderson Message-ID: <20250317183417.285700-2-pierrick.bouvier@linaro.org> --- cpu-target.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpu-target.c') diff --git a/cpu-target.c b/cpu-target.c index cae77374b3..519b0f8900 100644 --- a/cpu-target.c +++ b/cpu-target.c @@ -155,6 +155,7 @@ void cpu_abort(CPUState *cpu, const char *fmt, ...) abort(); } +#undef target_words_bigendian bool target_words_bigendian(void) { return TARGET_BIG_ENDIAN; -- cgit 1.4.1