]> git.proxmox.com Git - mirror_qemu.git/commit
hw/ppc: Replace global smp variables with machine smp properties
authorLike Xu <like.xu@linux.intel.com>
Sat, 18 May 2019 20:54:22 +0000 (04:54 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:07:36 +0000 (17:07 -0300)
commitfe6b6346e997ff2ecef1e69a0ab9b1e521b68003
treef3fe70c93ff34794be13c280b9182f337a491500
parent5cc8767d05708f590eea926a2f7a2c1a80021fa7
hw/ppc: Replace global smp variables with machine smp properties

The global smp variables in ppc are replaced with smp machine properties.

A local variable of the same name would be introduced in the declaration
phase if it's used widely in the context OR replace it on the spot if it's
only used once. No semantic changes.

Signed-off-by: Like Xu <like.xu@linux.intel.com>
Message-Id: <20190518205428.90532-5-like.xu@linux.intel.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ppc/e500.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/pnv.c
hw/ppc/prep.c
hw/ppc/spapr.c
hw/ppc/spapr_rtas.c