target-i386: Move APIC ID compatibility code to pc.c
commitde13197a38cf45c990802661a057f64a05426cbc
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 19 Dec 2014 01:43:35 +0000 (18 23:43 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 25 Feb 2015 18:00:07 +0000 (25 15:00 -0300)
tree19747d142315b030a25ce2f45327361a7de9a7d3
parente1356dd70aef11425883dd4d2885f1d208eb9d57
target-i386: Move APIC ID compatibility code to pc.c

The APIC ID compatibility code is required only for PC, and now that
x86_cpu_initfn() doesn't use x86_cpu_apic_id_from_index() anymore, that
code can be moved to pc.c.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc.c
target-i386/cpu.c