diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-04-03 09:57:29 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:38:00 (GMT) |
commit | f36081f009201347bb6a6237e83e0f54798ac376 (patch) | |
tree | df50b78505e13cc5308fe2840d8408b3d04e920a /include/linux | |
parent | 058a42e6862ac4d4e977533ed42de1804ebd6a85 (diff) | |
download | linux-fsl-qoriq-f36081f009201347bb6a6237e83e0f54798ac376.tar.xz |
genirq-force-threading.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/interrupt.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index cd616f9..1403b95 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -314,9 +314,13 @@ static inline int disable_irq_wake(unsigned int irq) #ifdef CONFIG_IRQ_FORCED_THREADING +# 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 |