hw/cpu/core: Cleanup unused included header in core.c

Remove unused header (qemu/module.h and sysemu/cpus.h) in core.c,
and reorder the remaining header files (except qemu/osdep.h) in
alphabetical order.

Tested by "./configure" and then "make".

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231127145611.925817-2-zhao1.liu@linux.intel.com>
This commit is contained in:
Zhao Liu 2023-11-27 22:56:10 +08:00 committed by Philippe Mathieu-Daudé
parent 8d41afa429
commit 72bb895824

View File

@ -8,12 +8,11 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/cpu/core.h"
#include "qapi/visitor.h"
#include "qemu/module.h"
#include "qapi/error.h"
#include "sysemu/cpus.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/cpu/core.h"
#include "qapi/error.h"
#include "qapi/visitor.h"
static void core_prop_get_core_id(Object *obj, Visitor *v, const char *name, static void core_prop_get_core_id(Object *obj, Visitor *v, const char *name,
void *opaque, Error **errp) void *opaque, Error **errp)