Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Changbin Du and committed by
Herbert Xu
abfc7fad 3e1d2c52

+1 -1
+1 -1
crypto/skcipher.c
··· 431 431 432 432 static int skcipher_walk_first(struct skcipher_walk *walk) 433 433 { 434 - if (WARN_ON_ONCE(in_irq())) 434 + if (WARN_ON_ONCE(in_hardirq())) 435 435 return -EDEADLK; 436 436 437 437 walk->buffer = NULL;