aboutsummaryrefslogtreecommitdiff
path: root/hw/arm
diff options
context:
space:
mode:
authorWei Huang <wei@redhat.com>2015-11-10 13:37:33 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-11-10 13:37:33 +0000
commitb95690c9beaffd95edf91eb67829dc1e0a81e666 (patch)
treea0b3fa59de1118baa18deb23cec428824df7a57a /hw/arm
parent5c629f4ff4dc9ae79cc732f59a8df15ede796ff7 (diff)
downloadqemu-b95690c9beaffd95edf91eb67829dc1e0a81e666.zip
qemu-b95690c9beaffd95edf91eb67829dc1e0a81e666.tar.gz
qemu-b95690c9beaffd95edf91eb67829dc1e0a81e666.tar.bz2
hw/intc/arm_gic: Remove the definition of NUM_CPU
arm_gic.c retrieves CPU number using either NUM_CPU(s) or s->num_cpu. Such mixed-uses make source code inconsistent. This patch removes NUM_CPU(s), which was defined for MPCore tweak long ago, and instead favors s->num_cpu. The source is more consistent after this small tweak. Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Wei Huang <wei@redhat.com> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Message-id: 1446744293-32365-1-git-send-email-wei@redhat.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm')
0 files changed, 0 insertions, 0 deletions