exynos4: Use MachineClass instead of exynos4_machines array
commitca17776088e41dabdc3bb07334dbc73d631e30e3
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 4 Sep 2015 18:37:04 +0000 (4 15:37 -0300)
committerAndreas Färber <afaerber@suse.de>
Sat, 19 Sep 2015 14:39:44 +0000 (19 16:39 +0200)
tree13ade1446f2ea36987d2eabb090e0f8cd13855f4
parent6aadcc71354bc683fdedd8a3d369095d23095e1c
exynos4: Use MachineClass instead of exynos4_machines array

We don't need a QEMUMachine array to query max_cpus, if we can get the
corresponding MachineClass.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/arm/exynos4_boards.c