]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[S390] irq: set __ARCH_IRQ_EXIT_IRQS_DISABLED
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sun, 11 Mar 2012 15:59:30 +0000 (11:59 -0400)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 11 Mar 2012 15:59:28 +0000 (11:59 -0400)
Set __ARCH_IRQ_EXIT_IRQS_DISABLED in order to optimize irq_exit() a
bit, since we call __do_softirq() instead of do_softirq().
This saves several needless checks, pointless interrupt disabling
and an extra branch.
If do_softirq() gets called from process context we still switch to
the async stack.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/hardirq.h

index e4155d3eb2cbf356348a804262d938b711406720..510ba9ef424887555770f3aa6267f03f055c1211 100644 (file)
@@ -18,6 +18,7 @@
 
 #define __ARCH_IRQ_STAT
 #define __ARCH_HAS_DO_SOFTIRQ
+#define __ARCH_IRQ_EXIT_IRQS_DISABLED
 
 #define HARDIRQ_BITS   8