]> Pileus Git - ~andy/linux/commit
irq: Don't re-enable interrupts at the end of irq_exit
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 28 Feb 2013 19:00:43 +0000 (20:00 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 28 Feb 2013 19:00:43 +0000 (20:00 +0100)
commit4cd5d1115c2f752ca94a0eb461b36d88fb37ed1e
treec36ae69ce4ed479d55d407a4243eb569bb56afc1
parent4d4c4e24cf48400a24d33feffc7cca4f4e8cabe1
irq: Don't re-enable interrupts at the end of irq_exit

Commit 74eed0163d0def3fce27228d9ccf3d36e207b286
"irq: Ensure irq_exit() code runs with interrupts disabled"
restore interrupts flags in the end of irq_exit() for archs
that don't define __ARCH_IRQ_EXIT_IRQS_DISABLED.

However always returning from irq_exit() with interrupts
disabled should not be a problem for these archs. Prior to
this commit this was already happening anytime we processed
pending softirqs anyway.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/softirq.c