softirq: Reduce invoke_softirq() code duplication
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 5 Mar 2012 23:07:25 +0000 (15:07 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 Mar 2012 12:33:27 +0000 (13:33 +0100)
commitb2a00178614e2cdd981a708d22a05c1ce4eadfd7
tree774ffcfab7e84497ae39ab8f944a1c19deccc46d
parenta09b659cd68c10ec6a30cb91ebd2c327fcd5bfe5
softirq: Reduce invoke_softirq() code duplication

The two invoke_softirq() variants are identical except for a single
line. So move the #ifdef __ARCH_IRQ_EXIT_IRQS_DISABLED inside one of
the functions and get rid of the other one.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/softirq.c