]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARC: [arcompact] don't check for hard isr calling local_irq_enable()
authorVineet Gupta <vgupta@synopsys.com>
Sat, 5 Sep 2015 17:17:30 +0000 (22:47 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Sat, 17 Oct 2015 12:18:22 +0000 (17:48 +0530)
commit9dbd3d9bfd56707f9b1ccc301506e2fac0e95795
tree6da3363df38759b7e2130ed7e4a2ef8c194d3835
parentc7119d56d2755fc2770b0e2c1c4385e10f4c9161
ARC: [arcompact] don't check for hard isr calling local_irq_enable()

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: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/irqflags-compact.h
arch/arc/kernel/intc-compact.c