• Vineet Gupta's avatar
    ARC: [arcompact] don't check for hard isr calling local_irq_enable() · 9dbd3d9b
    Vineet Gupta authored
    Historically this was done by ARC IDE driver, which is long gone.
    IRQ core is pretty robust now and already checks if IRQs are enabled
    in hard ISRs. Thus no point in checking this in arch code, for every
    call of irq enabled.
    
    Further if some driver does do that - let it bring down the system so we
    notice/fix this sooner than covering up for sucker
    
    This makes local_irq_enable() - for L1 only case atleast simple enough
    so we can inline it.
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    9dbd3d9b
intc-compact.c 4.64 KB