]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: api - Optimise away crypto_yield when hard preemption is on
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jul 2016 05:17:56 +0000 (13:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 Jul 2016 09:35:49 +0000 (17:35 +0800)
commitbfc860840542e9d45cecbca239524511df1d8b8b
tree10195cc22c1bf1c10216a1d1abcf2fe05169c96f
parent78b02b60e567e4da1d43721ef2b11cabc1a180fc
crypto: api - Optimise away crypto_yield when hard preemption is on

When hard preemption is enabled there is no need to explicitly
call crypto_yield.  This patch eliminates it if that is the case.

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