41 lines
1.4 KiB
Diff
41 lines
1.4 KiB
Diff
|
|
From 7af2722536b4b0d80f6c508066e8e77158869923 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Keqian Zhu <zhukeqian1@huawei.com>
|
||
|
|
Date: Tue, 26 Mar 2024 23:34:01 +0800
|
||
|
|
Subject: [PATCH] acpi/ged: Remove cpuhp field of ged
|
||
|
|
|
||
|
|
It's unused.
|
||
|
|
|
||
|
|
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
|
||
|
|
---
|
||
|
|
hw/acpi/generic_event_device.c | 1 -
|
||
|
|
include/hw/acpi/generic_event_device.h | 1 -
|
||
|
|
2 files changed, 2 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/hw/acpi/generic_event_device.c b/hw/acpi/generic_event_device.c
|
||
|
|
index 6e4f5f075f..4731a614a3 100644
|
||
|
|
--- a/hw/acpi/generic_event_device.c
|
||
|
|
+++ b/hw/acpi/generic_event_device.c
|
||
|
|
@@ -430,7 +430,6 @@ static void acpi_ged_initfn(Object *obj)
|
||
|
|
|
||
|
|
mc = MACHINE_GET_CLASS(qdev_get_machine());
|
||
|
|
if (mc->possible_cpu_arch_ids) {
|
||
|
|
- s->cpuhp.device = OBJECT(s);
|
||
|
|
memory_region_init(&s->container_cpuhp, OBJECT(dev), "cpuhp container",
|
||
|
|
ACPI_CPU_HOTPLUG_REG_LEN);
|
||
|
|
sysbus_init_mmio(SYS_BUS_DEVICE(dev), &s->container_cpuhp);
|
||
|
|
diff --git a/include/hw/acpi/generic_event_device.h b/include/hw/acpi/generic_event_device.h
|
||
|
|
index a803ea818e..90fc41cbb8 100644
|
||
|
|
--- a/include/hw/acpi/generic_event_device.h
|
||
|
|
+++ b/include/hw/acpi/generic_event_device.h
|
||
|
|
@@ -110,7 +110,6 @@ struct AcpiGedState {
|
||
|
|
MemoryRegion container_memhp;
|
||
|
|
CPUHotplugState cpuhp_state;
|
||
|
|
MemoryRegion container_cpuhp;
|
||
|
|
- AcpiCpuHotplug cpuhp;
|
||
|
|
GEDState ged_state;
|
||
|
|
uint32_t ged_event_bitmap;
|
||
|
|
qemu_irq irq;
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|