Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288592
b: refs/heads/master
c: b2a0017
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Thomas Gleixner committed Mar 6, 2012
1 parent d0cdad6 commit e495fb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a09b659cd68c10ec6a30cb91ebd2c327fcd5bfe5
refs/heads/master: b2a00178614e2cdd981a708d22a05c1ce4eadfd7
18 changes: 4 additions & 14 deletions trunk/kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,31 +310,21 @@ void irq_enter(void)
__irq_enter();
}

#ifdef __ARCH_IRQ_EXIT_IRQS_DISABLED
static inline void invoke_softirq(void)
{
if (!force_irqthreads)
if (!force_irqthreads) {
#ifdef __ARCH_IRQ_EXIT_IRQS_DISABLED
__do_softirq();
else {
__local_bh_disable((unsigned long)__builtin_return_address(0),
SOFTIRQ_OFFSET);
wakeup_softirqd();
__local_bh_enable(SOFTIRQ_OFFSET);
}
}
#else
static inline void invoke_softirq(void)
{
if (!force_irqthreads)
do_softirq();
else {
#endif
} else {
__local_bh_disable((unsigned long)__builtin_return_address(0),
SOFTIRQ_OFFSET);
wakeup_softirqd();
__local_bh_enable(SOFTIRQ_OFFSET);
}
}
#endif

/*
* Exit an interrupt context. Process softirqs if needed and possible:
Expand Down

0 comments on commit e495fb4

Please sign in to comment.