]> xenbits.xensource.com Git - xenclient/ioemu.git/commitdiff
Correct my 'thinko' in OMAP interrupt handler commit, fix by Lauro Ramos Venancio.
authorbalrog <balrog>
Thu, 6 Dec 2007 22:05:05 +0000 (22:05 +0000)
committerbalrog <balrog>
Thu, 6 Dec 2007 22:05:05 +0000 (22:05 +0000)
hw/omap.c

index 5f3c90acd6a8cf3cc7ae164df4e7a9e5775b8f66..7312a66a7abc69cb369fedf96207171f244698af 100644 (file)
--- 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)