From: Zhao Liu <[email protected]> Remove unused header in numa.c: * sysemu/hostmem.h * exec/cpu-common.h * exec/ramlist.h * qemu/bitmap.h * hw/core/cpu.h * hw/mem/pc-dimm.h * migration/vmstate.h
Though sysemu/numa.h has been included by sysemu/hostmem.h which is included by hw/boards.h, to keep the dependency clear, still directly include sysemu/numa.h in this file. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu <[email protected]> --- hw/core/numa.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hw/core/numa.c b/hw/core/numa.c index f08956ddb0ff..ab3f2858ac51 100644 --- a/hw/core/numa.c +++ b/hw/core/numa.c @@ -23,20 +23,14 @@ */ #include "qemu/osdep.h" + #include "qemu/units.h" -#include "sysemu/hostmem.h" #include "sysemu/numa.h" -#include "exec/cpu-common.h" -#include "exec/ramlist.h" -#include "qemu/bitmap.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" #include "qapi/qapi-visit-machine.h" #include "sysemu/qtest.h" -#include "hw/core/cpu.h" -#include "hw/mem/pc-dimm.h" -#include "migration/vmstate.h" #include "hw/boards.h" #include "hw/mem/memory-device.h" #include "qemu/option.h" -- 2.34.1
