hw/arm_gic.c: Fix improper DPRINTF output.
commit9ab1b6053f03d58ba8e7accc8f19c882fbffb66f
authorEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 12 Oct 2012 10:54:37 +0000 (12 11:54 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Oct 2012 10:54:37 +0000 (12 11:54 +0100)
tree5587b7961d20affbc078c7fd30182805098846fa
parent884285bf646d93e9dfa4a605bca9f8dc5280b23d
hw/arm_gic.c: Fix improper DPRINTF output.

s->cpu_enabled is an array, so s->cpu_enabled ? "En" : "Dis" returns
"En" always. We should use s->cpu_enabled[cpu] here.

Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm_gic.c