]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/hexagon/cpu_loop.c
target/hexagon/cpu.h: don't include qemu-common.h
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Nov 2021 20:05:08 +0000 (20:05 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:35:26 +0000 (10:35 +0000)
commit70a37f7faacbff7dcafdd444db15a264e02b8db5
tree46cc6be21443d2769969e832c5d37024db87d395
parent9cafc0735f5451dd6c8845f2a5c2c73bd7a7580c
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
linux-user/hexagon/cpu_loop.c
target/hexagon/cpu.h