summaryrefslogtreecommitdiff
path: root/drivers/s390/cio/airq.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2018-10-28 13:51:56 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-29 11:47:01 +0300
commit30e63ef2ef43f014bf2039bd57cc917780d6a44b (patch)
tree9cdcede18e3b4465dd20f4baf5e9d9e01c4bea52 /drivers/s390/cio/airq.c
parent0a9fddfaa8ea0f66564329ce89390c8dd38b2df0 (diff)
downloadlinux-30e63ef2ef43f014bf2039bd57cc917780d6a44b.tar.xz
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;