From: Philippe Mathieu-Daudé Date: Wed, 13 Nov 2024 22:07:12 +0000 (+0100) Subject: exec/cpu-defs: Remove unnecessary headers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=600c63d4dc5b2f036a21534bc1ea0640c64c1628;p=qemu.git exec/cpu-defs: Remove unnecessary headers "exec/cpu-defs.h" should be kept as minimal as possible; besides these includes don't seem necessary. Remove them. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Tested-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20241114011310.3615-3-philmd@linaro.org> --- diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h index 0dbef3010c..ae18398fa9 100644 --- a/include/exec/cpu-defs.h +++ b/include/exec/cpu-defs.h @@ -23,14 +23,6 @@ #error cpu.h included from common code #endif -#include "qemu/host-utils.h" -#include "qemu/thread.h" -#ifndef CONFIG_USER_ONLY -#include "exec/hwaddr.h" -#endif -#include "exec/memattrs.h" -#include "hw/core/cpu.h" - #include "cpu-param.h" #ifndef TARGET_LONG_BITS