From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxifq-0006lZ-Te for qemu-devel@nongnu.org; Sun, 28 Aug 2011 12:57:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qxifp-0001LS-VJ for qemu-devel@nongnu.org; Sun, 28 Aug 2011 12:57:30 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:38064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qxifp-0001HJ-Es for qemu-devel@nongnu.org; Sun, 28 Aug 2011 12:57:29 -0400 From: Peter Maydell Date: Sun, 28 Aug 2011 17:56:58 +0100 Message-Id: <1314550628-26869-10-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1314550628-26869-1-git-send-email-peter.maydell@linaro.org> References: <1314550628-26869-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 08/18] omap_gpmc: Wire up the GPMC IRQ correctly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , patches@linaro.org The omap_gpmc wasn't actually wiring up its IRQ, so anything that provoked an interrupt would be using uninitialised data for its IRQ number. Signed-off-by: Peter Maydell --- hw/omap_gpmc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/omap_gpmc.c b/hw/omap_gpmc.c index ff4d485..b728397 100644 --- a/hw/omap_gpmc.c +++ b/hw/omap_gpmc.c @@ -407,6 +407,7 @@ struct omap_gpmc_s *omap_gpmc_init(target_phys_addr_t base, qemu_irq irq) memory_region_init_io(&s->iomem, &omap_gpmc_ops, s, "omap-gpmc", 0x1000); memory_region_add_subregion(get_system_memory(), base, &s->iomem); + s->irq = irq; omap_gpmc_reset(s); return s; -- 1.7.1