diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-04-03 11:57:29 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2013-05-20 13:45:49 -0400 |
commit | a5e4b2d98262714091738f4ed889113210aa55d1 (patch) | |
tree | c1d85add1419141f528d783351a808ec01ccbb52 /include | |
parent | 62c9e56a911779350678b1e18ceb36a7f4831999 (diff) |
genirq-force-threading.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/interrupt.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index ddd6b2a5a42e..b9162dc541ff 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -396,9 +396,13 @@ static inline int disable_irq_wake(unsigned int irq) #ifdef CONFIG_IRQ_FORCED_THREADING -extern bool force_irqthreads; +# ifndef CONFIG_PREEMPT_RT_BASE + extern bool force_irqthreads; +# else +# define force_irqthreads (true) +# endif #else -#define force_irqthreads (0) +#define force_irqthreads (false) #endif #ifndef __ARCH_SET_SOFTIRQ_PENDING |