diff options
author | Changbin Du <changbin.du@gmail.com> | 2021-08-14 03:11:14 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-08-21 09:44:58 +0200 |
commit | abfc7fad63940b8dfdfd25da6f0fa813d9561645 (patch) | |
tree | 7a2997da2122d996cdfc2c5fc8b7605ec4dc860e /crypto/skcipher.c | |
parent | crypto: hisilicon - check _PS0 and _PR0 method (diff) | |
download | linux-abfc7fad63940b8dfdfd25da6f0fa813d9561645.tar.xz linux-abfc7fad63940b8dfdfd25da6f0fa813d9561645.zip |
crypto: skcipher - in_irq() cleanup
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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/skcipher.c')
-rw-r--r-- | crypto/skcipher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/skcipher.c b/crypto/skcipher.c index a15376245416..418211180cee 100644 --- a/crypto/skcipher.c +++ b/crypto/skcipher.c @@ -431,7 +431,7 @@ static int skcipher_copy_iv(struct skcipher_walk *walk) static int skcipher_walk_first(struct skcipher_walk *walk) { - if (WARN_ON_ONCE(in_irq())) + if (WARN_ON_ONCE(in_hardirq())) return -EDEADLK; walk->buffer = NULL; |