From: Pierrick Bouvier Date: Mon, 12 May 2025 18:04:33 +0000 (-0700) Subject: target/arm/helper: restrict include to common helpers X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2fdfdeb2f2a46ee5b96918dfd18cdeedf3bba013;p=thirdparty%2Fqemu.git target/arm/helper: restrict include to common helpers Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Message-id: 20250512180502.2395029-20-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell --- diff --git a/target/arm/helper.c b/target/arm/helper.c index 4a2d1ecbfe..3795dccd16 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -12,7 +12,6 @@ #include "cpu.h" #include "internals.h" #include "cpu-features.h" -#include "exec/helper-proto.h" #include "exec/page-protection.h" #include "exec/mmap-lock.h" #include "qemu/main-loop.h" @@ -35,6 +34,9 @@ #include "cpregs.h" #include "target/arm/gtimer.h" +#define HELPER_H "tcg/helper.h" +#include "exec/helper-proto.h.inc" + #define ARM_CPU_FREQ 1000000000 /* FIXME: 1 GHz, should be configurable */ static void switch_mode(CPUARMState *env, int mode);