[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/9] hw/core: Reorder included headers in cpu-common.c
From: |
Zhao Liu |
Subject: |
[PATCH v2 3/9] hw/core: Reorder included headers in cpu-common.c |
Date: |
Tue, 16 Jan 2024 15:46:41 +0800 |
From: Zhao Liu <zhao1.liu@intel.com>
Reorder the header files (except qemu/osdep.h) in alphabetical order.
Tested by "./configure" and then "make".
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
hw/core/cpu-common.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c
index a27f0e4cf216..23fc58462ffd 100644
--- a/hw/core/cpu-common.c
+++ b/hw/core/cpu-common.c
@@ -19,17 +19,18 @@
*/
#include "qemu/osdep.h"
-#include "qapi/error.h"
+
+#include "exec/log.h"
+#include "hw/boards.h"
#include "hw/core/cpu.h"
-#include "sysemu/hw_accel.h"
+#include "hw/qdev-properties.h"
+#include "qapi/error.h"
#include "qemu/log.h"
#include "qemu/main-loop.h"
-#include "exec/log.h"
+#include "qemu/plugin.h"
+#include "sysemu/hw_accel.h"
#include "sysemu/tcg.h"
-#include "hw/boards.h"
-#include "hw/qdev-properties.h"
#include "trace.h"
-#include "qemu/plugin.h"
CPUState *cpu_by_arch_id(int64_t id)
{
--
2.34.1
- [PATCH v2 0/9] hw/core: Cleanup and reorder headers, Zhao Liu, 2024/01/16
- [PATCH v2 1/9] MAINTAINERS: Update hw/core/cpu.c entry, Zhao Liu, 2024/01/16
- [PATCH v2 2/9] hw/core: Cleanup unused included headers in cpu-common.c, Zhao Liu, 2024/01/16
- [PATCH v2 3/9] hw/core: Reorder included headers in cpu-common.c,
Zhao Liu <=
- [PATCH v2 4/9] hw/core: Reorder included headers in cpu-sysemu.c, Zhao Liu, 2024/01/16
- [PATCH v2 7/9] hw/core: Reorder included headers in null-machine.c, Zhao Liu, 2024/01/16
- [PATCH v2 5/9] hw/core: Cleanup unused included header in machine-qmp-cmds.c, Zhao Liu, 2024/01/16
- [PATCH v2 6/9] hw/core: Reorder included header in machine.c, Zhao Liu, 2024/01/16
- [PATCH v2 8/9] hw/core: Cleanup unused included headers in numa.c, Zhao Liu, 2024/01/16
- [PATCH v2 9/9] hw/core: Reorder included headers in numa.c, Zhao Liu, 2024/01/16
- Re: [PATCH v2 0/9] hw/core: Cleanup and reorder headers, Zhao Liu, 2024/01/29