]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: ath91: Remove pointless irqdisable/enable
authorThomas Gleixner <tglx@linutronix.de>
Mon, 13 Jul 2015 20:46:06 +0000 (20:46 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Aug 2015 13:23:31 +0000 (15:23 +0200)
commit9d9a2fa7dcbd05a1608a6a38b6ec1a092e117c3c
treef7cd23d58b7e10edb95282a8c97a027e59d02e7b
parente0288a0a7bb8b28787453cb96f7aad272086def1
MIPS: ath91: Remove pointless irqdisable/enable

The various interrupt flow handlers in ath79 are cascading interrupt
handlers. They all have a disable_irq_nosync()/enable_irq() pair
around the generic_handle_irq() call. The value of this disable/enable
is zero because its a complete noop:

disable_irq_nosync() merily increments the disable count without
actually masking the interrupt. enable_irq() soleley decrements the
disable count without touching the interrupt chip. The interrupt
cannot arrive again because the complete call chain runs with
interrupts disabled.

Remove it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: LKML <linux-kernel@vger.kernel.org>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Patchwork: https://patchwork.linux-mips.org/patch/10703/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/irq.c