summaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-05-04 16:24:46 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-05 16:26:47 -0400
commit47b82e88180c3c6db795a43373beab47cb073f7a (patch)
tree1ef365d5cbd94830da977107d8f11ebe466610fe /kernel/irq/manage.c
parentce1e518190ea71d1ecf1a91a8b0794ba9bd78e89 (diff)
downloadlinux-stable-47b82e88180c3c6db795a43373beab47cb073f7a.tar.gz
linux-stable-47b82e88180c3c6db795a43373beab47cb073f7a.tar.bz2
linux-stable-47b82e88180c3c6db795a43373beab47cb073f7a.zip
ide: don't enable/disable interrupts in force threaded-IRQ mode
The interrupts are enabled/disabled so the interrupt handler can run with enabled interrupts while serving the interrupt and not lose other interrupts especially the timer tick. If the system runs with force-threaded interrupts then there is no need to enable the interrupts. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index e3336d904f64..4c2ef8084e32 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -24,6 +24,7 @@
#ifdef CONFIG_IRQ_FORCED_THREADING
__read_mostly bool force_irqthreads;
+EXPORT_SYMBOL_GPL(force_irqthreads);
static int __init setup_forced_irqthreads(char *arg)
{