diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-12 15:38:34 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:57 +0100 |
commit | 8865049bab9957eb5b027d3e53bd05316817ea07 (patch) | |
tree | f54952444222ec2387deee3c6e6d892b17865b2c /target/sparc | |
parent | 1760c5cce8301c4a4f007c793c872a8f16439326 (diff) | |
download | qemu-8865049bab9957eb5b027d3e53bd05316817ea07.zip qemu-8865049bab9957eb5b027d3e53bd05316817ea07.tar.gz qemu-8865049bab9957eb5b027d3e53bd05316817ea07.tar.bz2 |
accel/tcg: Move tcg_cflags_has/set() to 'exec/translation-block.h'
The TranslationBlock flags are defined in 'exec/translation-block.h'.
tcg_cflags_has/set() use them, it is more logical to declare them in
the same place. Move them there too.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241212144430.66224-2-philmd@linaro.org>
Diffstat (limited to 'target/sparc')
-rw-r--r-- | target/sparc/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/sparc/cpu.c b/target/sparc/cpu.c index fc0c66a..960ed90 100644 --- a/target/sparc/cpu.c +++ b/target/sparc/cpu.c @@ -23,6 +23,7 @@ #include "qemu/module.h" #include "qemu/qemu-print.h" #include "exec/exec-all.h" +#include "exec/translation-block.h" #include "hw/qdev-properties.h" #include "qapi/visitor.h" #include "tcg/tcg.h" |