From: Taylor Simpson Date: Fri, 9 Apr 2021 01:07:43 +0000 (-0500) Subject: Hexagon (target/hexagon) move QEMU_GENERATE to only be on during macros.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a33872eb533c5b4d2eb7658fa07e6a281bfd609b;p=qemu.git Hexagon (target/hexagon) move QEMU_GENERATE to only be on during macros.h Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-16-git-send-email-tsimpson@quicinc.com> Signed-off-by: Richard Henderson --- diff --git a/target/hexagon/genptr.c b/target/hexagon/genptr.c index 6b74344795..b87e264ccf 100644 --- a/target/hexagon/genptr.c +++ b/target/hexagon/genptr.c @@ -15,7 +15,6 @@ * along with this program; if not, see . */ -#define QEMU_GENERATE #include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" @@ -24,7 +23,9 @@ #include "insn.h" #include "opcodes.h" #include "translate.h" +#define QEMU_GENERATE /* Used internally by macros.h */ #include "macros.h" +#undef QEMU_GENERATE #include "gen_tcg.h" static inline TCGv gen_read_preg(TCGv pred, uint8_t num)