diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-11-29 20:05:08 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-12-15 10:35:26 +0000 |
commit | 70a37f7faacbff7dcafdd444db15a264e02b8db5 (patch) | |
tree | 46cc6be21443d2769969e832c5d37024db87d395 /linux-user/hexagon | |
parent | 9cafc0735f5451dd6c8845f2a5c2c73bd7a7580c (diff) | |
download | qemu-70a37f7faacbff7dcafdd444db15a264e02b8db5.zip qemu-70a37f7faacbff7dcafdd444db15a264e02b8db5.tar.gz qemu-70a37f7faacbff7dcafdd444db15a264e02b8db5.tar.bz2 |
target/hexagon/cpu.h: don't include qemu-common.h
The qemu-common.h header is not supposed to be included from any
other header files, only from .c files (as documented in a comment at
the start of it).
Move the include to linux-user/hexagon/cpu_loop.c, which needs it for
the declaration of cpu_exec_step_atomic().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Message-id: 20211129200510.1233037-3-peter.maydell@linaro.org
Diffstat (limited to 'linux-user/hexagon')
-rw-r--r-- | linux-user/hexagon/cpu_loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/hexagon/cpu_loop.c b/linux-user/hexagon/cpu_loop.c index 6b24cba..e47f834 100644 --- a/linux-user/hexagon/cpu_loop.c +++ b/linux-user/hexagon/cpu_loop.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu-common.h" #include "qemu.h" #include "user-internals.h" #include "cpu_loop-common.h" |