42 lines
1.5 KiB
Diff
42 lines
1.5 KiB
Diff
From 22156c1abec6f1d905c62091ce34dfee34cdfa18 Mon Sep 17 00:00:00 2001
|
|
From: Paolo Bonzini <pbonzini@redhat.com>
|
|
Date: Fri, 18 Jul 2025 18:03:50 +0200
|
|
Subject: [PATCH 092/100] i386/cpu: Cleanup host_cpu_max_instance_init()
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
The implementation of host_cpu_max_instance_init() was merged into
|
|
host_cpu_instance_init() by commit 29f1ba338baf ("target/i386: merge
|
|
host_cpu_instance_init() and host_cpu_max_instance_init()"), while the
|
|
declaration of it remains in host-cpu.h.
|
|
|
|
Clean it up.
|
|
|
|
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
|
|
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
|
|
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
|
|
Link: https://lore.kernel.org/r/20250716063117.602050-1-xiaoyao.li@intel.com
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
(cherry picked from commit 5fe6b9a854a91df86fdb794cbeb67d0656756137)
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
---
|
|
target/i386/host-cpu.h | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/target/i386/host-cpu.h b/target/i386/host-cpu.h
|
|
index b97ec01c9b..5b2ad491a8 100644
|
|
--- a/target/i386/host-cpu.h
|
|
+++ b/target/i386/host-cpu.h
|
|
@@ -12,7 +12,6 @@
|
|
|
|
uint32_t host_cpu_phys_bits(void);
|
|
void host_cpu_instance_init(X86CPU *cpu);
|
|
-void host_cpu_max_instance_init(X86CPU *cpu);
|
|
bool host_cpu_realizefn(CPUState *cs, Error **errp);
|
|
|
|
void host_cpu_vendor_fms(char *vendor, int *family, int *model, int *stepping);
|
|
--
|
|
2.47.3
|
|
|