diff options
| author | Xiaoyao Li <xiaoyao.li@intel.com> | 2024-12-19 06:01:18 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-10 23:34:45 +0100 |
| commit | 00ec7be67c3981b486293aa8e0aef9534f229c5e (patch) | |
| tree | 9f180941bb6f26af02a3fc9da5ea2b6fa0e11aac /include/hw/core/cpu.h | |
| parent | 81bd60625fc23cb8d4d0e682dcc4223d5e1ead84 (diff) | |
| download | focaccia-qemu-00ec7be67c3981b486293aa8e0aef9534f229c5e.tar.gz focaccia-qemu-00ec7be67c3981b486293aa8e0aef9534f229c5e.zip | |
i386/cpu: Drop cores_per_pkg in cpu_x86_cpuid()
Local variable cores_per_pkg is only used to calculate threads_per_pkg. No need for it. Drop it and open-code it instead. Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20241219110125.1266461-4-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/core/cpu.h')
0 files changed, 0 insertions, 0 deletions