| Submitter | Peter Maydell |
|---|---|
| Date | Oct. 12, 2012, 11:38 a.m. |
| Message ID | <1350041912-12595-3-git-send-email-peter.maydell@linaro.org> |
| Download | mbox | patch |
| Permalink | /patch/191103/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/arm_gic.c b/hw/arm_gic.c index 55871fa..4024dae 100644 --- a/hw/arm_gic.c +++ b/hw/arm_gic.c @@ -566,7 +566,7 @@ static void gic_cpu_write(gic_state *s, int cpu, int offset, uint32_t value) switch (offset) { case 0x00: /* Control */ s->cpu_enabled[cpu] = (value & 1); - DPRINTF("CPU %d %sabled\n", cpu, s->cpu_enabled ? "En" : "Dis"); + DPRINTF("CPU %d %sabled\n", cpu, s->cpu_enabled[cpu] ? "En" : "Dis"); break; case 0x04: /* Priority mask */ s->priority_mask[cpu] = (value & 0xff);