diff options
author | Babu Moger | 2020-03-11 23:53:27 +0100 |
---|---|---|
committer | Eduardo Habkost | 2020-03-18 00:48:10 +0100 |
commit | 3c6712eca07255803b61ca3d632f61a65c078c36 (patch) | |
tree | cb61f03b8efb5388ae09e6e617ce7a0f3fe4245a /hw/i386 | |
parent | hw/i386: Update structures to save the number of nodes per package (diff) | |
download | qemu-3c6712eca07255803b61ca3d632f61a65c078c36.tar.gz qemu-3c6712eca07255803b61ca3d632f61a65c078c36.tar.xz qemu-3c6712eca07255803b61ca3d632f61a65c078c36.zip |
hw/i386: Rename apicid_from_topo_ids to x86_apicid_from_topo_ids
For consistency rename apicid_from_topo_ids to x86_apicid_from_topo_ids.
No functional change.
Signed-off-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <158396720748.58170.5335409429390890145.stgit@naples-babu.amd.com>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index ee89fcd1c3..98ee763f68 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1580,7 +1580,7 @@ static void pc_cpu_pre_plug(HotplugHandler *hotplug_dev, topo_ids.die_id = cpu->die_id; topo_ids.core_id = cpu->core_id; topo_ids.smt_id = cpu->thread_id; - cpu->apic_id = apicid_from_topo_ids(&topo_info, &topo_ids); + cpu->apic_id = x86_apicid_from_topo_ids(&topo_info, &topo_ids); } cpu_slot = pc_find_cpu_slot(MACHINE(pcms), cpu->apic_id, &idx); |