summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/airq.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2018-10-28 11:51:56 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-29 10:47:01 +0200
commit30e63ef2ef43f014bf2039bd57cc917780d6a44b (patch)
tree9cdcede18e3b4465dd20f4baf5e9d9e01c4bea52 /drivers/s390/cio/airq.c
parents390/sclp: detect DIRQ facility (diff)
downloadlinux-30e63ef2ef43f014bf2039bd57cc917780d6a44b.tar.xz
linux-30e63ef2ef43f014bf2039bd57cc917780d6a44b.zip
s390/airq: recognize directed interrupts
Add an extra parameter for airq handlers to recognize floating vs. directed interrupts. Signed-off-by: Sebastian Ott <sebott@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/airq.c')
-rw-r--r--drivers/s390/cio/airq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/airq.c b/drivers/s390/cio/airq.c
index a45011e4529e..e045e79f061c 100644
--- a/drivers/s390/cio/airq.c
+++ b/drivers/s390/cio/airq.c
@@ -95,7 +95,7 @@ static irqreturn_t do_airq_interrupt(int irq, void *dummy)
rcu_read_lock();
hlist_for_each_entry_rcu(airq, head, list)
if ((*airq->lsi_ptr & airq->lsi_mask) != 0)
- airq->handler(airq);
+ airq->handler(airq, !tpi_info->directed_irq);
rcu_read_unlock();
return IRQ_HANDLED;