35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
|
|
From 105ea4d8301791bbb5a76df1f527fb5df439c565 Mon Sep 17 00:00:00 2001
|
||
|
|
From: dinglimin <dinglimin@cmss.chinamobile.com>
|
||
|
|
Date: Tue, 27 Feb 2024 16:01:50 +0800
|
||
|
|
Subject: [PATCH] hw/acpi/cpu: Use CPUState typedef
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
cheery-pick from b8492bd430ecc1ceb80cac19b46870d423f1e854
|
||
|
|
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>
|
||
|
|
Signed-off-by: dinglimin <dinglimin@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
include/hw/acpi/cpu.h | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h
|
||
|
|
index bc901660fb..209e1773f8 100644
|
||
|
|
--- a/include/hw/acpi/cpu.h
|
||
|
|
+++ b/include/hw/acpi/cpu.h
|
||
|
|
@@ -19,7 +19,7 @@
|
||
|
|
#include "hw/hotplug.h"
|
||
|
|
|
||
|
|
typedef struct AcpiCpuStatus {
|
||
|
|
- struct CPUState *cpu;
|
||
|
|
+ CPUState *cpu;
|
||
|
|
uint64_t arch_id;
|
||
|
|
bool is_inserting;
|
||
|
|
bool is_removing;
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|