pc: init pcms->apic_id_limit once and use it throughout pc.c
commitebde2465a97444b1245314250f76a837167fe747
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Feb 2016 13:59:20 +0000 (26 14:59 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Mar 2016 14:59:12 +0000 (11 16:59 +0200)
tree814cfd1b72393ebee855b141c44af9cc1e2a15e8
parentae2988350815c5d574f035e25c9735e457f5c1ac
pc: init pcms->apic_id_limit once and use it throughout pc.c

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
hw/i386/pc.c