cpus.h: Make constant smp_cores/smp_threads available on *-user
commit54fb7bf68516642c609738814f160ee2069301e8
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 22 Jan 2013 20:25:05 +0000 (22 18:25 -0200)
committerAndreas Färber <afaerber@suse.de>
Sun, 27 Jan 2013 13:34:27 +0000 (27 14:34 +0100)
tree858ed39689b39240640a5e279b3bc5b51568f387
parent70db922278f7b42375ead340b793ff3938835242
cpus.h: Make constant smp_cores/smp_threads available on *-user

The code that calculates the APIC ID will use smp_cores/smp_threads, so
just define them as 1 on *-user to avoid #ifdefs in the code.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
include/sysemu/cpus.h