]> git.proxmox.com Git - mirror_qemu.git/commit
hw: Replace global smp variables with MachineState for all remaining archs
authorLike Xu <like.xu@linux.intel.com>
Sat, 18 May 2019 20:54:27 +0000 (04:54 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 5 Jul 2019 20:08:03 +0000 (17:08 -0300)
commit33decbd2d3d51742269a78c1d6da3068c61c60d7
tree13fbc02b1866be2de2f6fc4e71bbeaa9214e2162
parentcc7d44c2e0fc9dff1b9eef857f14a7fd31d71f46
hw: Replace global smp variables with MachineState for all remaining archs

The global smp variables in alpha/hppa/mips/openrisc/sparc*/xtensa codes
are replaced with smp properties from MachineState.

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>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190518205428.90532-10-like.xu@linux.intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/alpha/dp264.c
hw/hppa/machine.c
hw/mips/boston.c
hw/mips/mips_malta.c
hw/openrisc/openrisc_sim.c
hw/sparc/sun4m.c
hw/sparc64/sun4u.c
hw/xtensa/sim.c
hw/xtensa/xtfpga.c