summaryrefslogtreecommitdiff
path: root/drivers/s390/net/ctcm_fsms.c
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2021-08-14 09:03:34 +0800
committerDavid S. Miller <davem@davemloft.net>2021-08-16 11:15:47 +0100
commite871ee6941842d4e52a7d81a9986cb6daf441dae (patch)
tree6a8d844e175f0c3b9a6c2b52f2d13ef31872a1ac /drivers/s390/net/ctcm_fsms.c
parentb2b8913341119491a13d9b11b073dc3c4f907cb8 (diff)
downloadlwn-e871ee6941842d4e52a7d81a9986cb6daf441dae.tar.gz
lwn-e871ee6941842d4e52a7d81a9986cb6daf441dae.zip
s390/net: replace in_irq() with in_hardirq()
Replace the obsolete and ambiguos macro in_irq() with new macro in_hardirq(). Signed-off-by: Changbin Du <changbin.du@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/ctcm_fsms.c')
-rw-r--r--drivers/s390/net/ctcm_fsms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/ctcm_fsms.c b/drivers/s390/net/ctcm_fsms.c
index 377e3689d1d4..06281a0a0552 100644
--- a/drivers/s390/net/ctcm_fsms.c
+++ b/drivers/s390/net/ctcm_fsms.c
@@ -1444,7 +1444,7 @@ again:
if (do_debug_ccw)
ctcmpc_dumpit((char *)&ch->ccw[0],
sizeof(struct ccw1) * 3);
- dolock = !in_irq();
+ dolock = !in_hardirq();
if (dolock)
spin_lock_irqsave(
get_ccwdev_lock(ch->cdev), saveflags);