diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-01-26 22:36:43 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-22 12:47:40 +0100 |
commit | b8492bd430ecc1ceb80cac19b46870d423f1e854 (patch) | |
tree | 76c0a92c692751fe410846c0414dca0de068039e /include | |
parent | 1017e88701e745b1f2c1d9d7b5f5751d31414088 (diff) |
hw/acpi/cpu: Use CPUState typedef
QEMU coding style recommend using structure typedefs:
https://www.qemu.org/docs/master/devel/style.html#typedefs
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20240126220407.95022-2-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/acpi/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h index e011d01adf..e6e1a9ef59 100644 --- a/include/hw/acpi/cpu.h +++ b/include/hw/acpi/cpu.h @@ -20,7 +20,7 @@ #include "hw/hotplug.h" typedef struct AcpiCpuStatus { - struct CPUState *cpu; + CPUState *cpu; uint64_t arch_id; bool is_inserting; bool is_removing; |