]> Git Repo - linux.git/blobdiff - include/crypto/algapi.h
memcg, kmem: deprecate kmem.limit_in_bytes
[linux.git] / include / crypto / algapi.h
index dc1106af95c3b43d9e07f834c1f7b25473013f2a..e5bd302f2c49e3a9012230e668ffee42fe754cff 100644 (file)
@@ -409,10 +409,8 @@ static inline int crypto_memneq(const void *a, const void *b, size_t size)
 
 static inline void crypto_yield(u32 flags)
 {
-#if !defined(CONFIG_PREEMPT) || defined(CONFIG_PREEMPT_VOLUNTARY)
        if (flags & CRYPTO_TFM_REQ_MAY_SLEEP)
                cond_resched();
-#endif
 }
 
 int crypto_register_notifier(struct notifier_block *nb);
This page took 0.034815 seconds and 4 git commands to generate.