diff options
author | Gary S. Robertson <gary.robertson@linaro.org> | 2015-03-05 17:36:18 -0600 |
---|---|---|
committer | Gary S. Robertson <gary.robertson@linaro.org> | 2015-03-05 17:36:18 -0600 |
commit | 662a35711031ba969fe53c5a8a1e224b64565bd9 (patch) | |
tree | 5166daf8464a1ca2d27996e775339b3535853c9f | |
parent | 8a529c0f6d3a1a613e5d039ca49bc3b8cf2417ff (diff) |
Make ISR threading a compile-time-only optionlinux-lng-3.14.32-2015.03
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
-rw-r--r-- | include/linux/interrupt.h | 4 | ||||
-rw-r--r-- | kernel/irq/manage.c | 11 |
2 files changed, 2 insertions, 13 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 203c43d3e1b8..85646ecf6a90 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h @@ -356,9 +356,9 @@ static inline int disable_irq_wake(unsigned int irq) #ifdef CONFIG_IRQ_FORCED_THREADING -extern bool force_irqthreads; +#define force_irqthreads (true) #else -#define force_irqthreads (0) +#define force_irqthreads (false) #endif #ifndef __ARCH_SET_SOFTIRQ_PENDING diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index ebb8a9e937fa..1b7461dae5ae 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -21,17 +21,6 @@ #include "internals.h" -#ifdef CONFIG_IRQ_FORCED_THREADING -__read_mostly bool force_irqthreads; - -static int __init setup_forced_irqthreads(char *arg) -{ - force_irqthreads = true; - return 0; -} -early_param("threadirqs", setup_forced_irqthreads); -#endif - /** * synchronize_irq - wait for pending IRQ handlers (on other CPUs) * @irq: interrupt number to wait for |