target-i386: Move APIC ID compatibility code to pc.c
commit54a402930ac6d1a9d6d402229ae8ba8bef7e598e
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 19 Dec 2014 01:43:35 +0000 (18 23:43 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 9 Mar 2015 19:30:03 +0000 (9 16:30 -0300)
tree72208efe9c89159f24014857560ab66cd189a102
parent7e72a45c99fccfe5586d7c4e2f7441f28e24e450
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>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/i386/pc.c
target-i386/cpu.c
target-i386/cpu.h