Commit f2df526058b5815111aabca8db01f427891f006e
1 parent
106627d0
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
Showing
1 changed file
with
1 additions
and
1 deletions
hw/omap.c
... | ... | @@ -198,7 +198,7 @@ static uint32_t omap_inth_read(void *opaque, target_phys_addr_t addr) |
198 | 198 | i = line_no & 31; |
199 | 199 | if (((bank->sens_edge >> i) & 1) == INT_FALLING_EDGE) |
200 | 200 | bank->irqs &= ~(1 << i); |
201 | - return i; | |
201 | + return line_no; | |
202 | 202 | |
203 | 203 | case 0x18: /* CONTROL_REG */ |
204 | 204 | if (bank_no != 0) | ... | ... |