summaryrefslogtreecommitdiffstats
path: root/hw/omap.c
diff options
context:
space:
mode:
authorbalrog2007-12-06 23:05:05 +0100
committerbalrog2007-12-06 23:05:05 +0100
commitf2df526058b5815111aabca8db01f427891f006e (patch)
treecdec74503d18bd97983a805edd8fcf025a541a28 /hw/omap.c
parentRework OMAP1 interrupt handling to allow multiple interrupt banks, by Lauro R... (diff)
downloadqemu-f2df526058b5815111aabca8db01f427891f006e.tar.gz
qemu-f2df526058b5815111aabca8db01f427891f006e.tar.xz
qemu-f2df526058b5815111aabca8db01f427891f006e.zip
Correct my 'thinko' in OMAP interrupt handler commit, fix by Lauro Ramos Venancio.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3775 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap.c')
-rw-r--r--hw/omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap.c b/hw/omap.c
index 5f3c90acd6..7312a66a7a 100644
--- a/hw/omap.c
+++ b/hw/omap.c
@@ -198,7 +198,7 @@ static uint32_t omap_inth_read(void *opaque, target_phys_addr_t addr)
i = line_no & 31;
if (((bank->sens_edge >> i) & 1) == INT_FALLING_EDGE)
bank->irqs &= ~(1 << i);
- return i;
+ return line_no;
case 0x18: /* CONTROL_REG */
if (bank_no != 0)