crypto: algapi - Move crypto_yield into internal.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 30 Jul 2020 12:39:13 +0000 (22:39 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 19 Aug 2020 11:59:43 +0000 (21:59 +1000)
commit1dbb920e342cab987186ad8ed6eac9c1cf710db7
tree63c7ffba3228c439f8beb778ed5abcc5e2d634e1
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
crypto: algapi - Move crypto_yield into internal.h

This patch moves crypto_yield into internal.h as it's only used
by internal code such as skcipher.  It also adds a missing inclusion
of sched.h which is required for cond_resched.

The header files in internal.h have been cleaned up to remove some
ancient junk and add some more specific inclusions.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/internal.h
include/crypto/algapi.h