• Sekhar Nori's avatar
    ARM: davinci: da8xx: fix interrupt handling · bbb33445
    Sekhar Nori authored
    CP_INTC code in entry-macro.S code reads SECR1n register to see if
    an interrupt was indeed pending. This register is actually marked as
    write-only in the OMAP-L138 TRM. Moreover, the code just checks to see
    the entire register is non-zero and does not check a specific interrupt
    number.
    
    Fix this to use interrupt pending bit in GIPR register for this purpose.
    GIPR register is already being read to know the highest priority interrupt
    pending.
    Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
    bbb33445
entry-macro.S 1.03 KB