hw/intc/arm_gic: Fix NVIC assertion failure
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:48 +0000 (10:35 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:48 +0000 (10:35 +0000)
commit873169022aa58daabd10979002f8009c7e5f3f05
treef7822c39444542824e1b9e0d935d38000ee86a23
parent46eef33b89e936ca793e13c4aeea1414e97e8dbb
hw/intc/arm_gic: Fix NVIC assertion failure

Commit 40d225009ef accidentally changed the behaviour of
gic_acknowledge_irq() for the NVIC. The NVIC doesn't have SGIs,
so this meant we hit an assertion:
  gic_acknowledge_irq: Assertion `s->sgi_pending[irq][cpu] != 0' failed.

Return NVIC acknowledge-irq to its previous behaviour, like 11MPCore.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
hw/intc/arm_gic.c