]> err.no Git - linux-2.6/blobdiff - crypto/internal.h
Automatic merge of /spare/repo/netdev-2.6 branch e1000
[linux-2.6] / crypto / internal.h
index e68e43886d3cc23439f30210e88b517911bf395e..964b9a60ca24413f07b1fe8410f7ac3198642135 100644 (file)
@@ -38,7 +38,7 @@ static inline void crypto_kunmap(void *vaddr, int out)
 
 static inline void crypto_yield(struct crypto_tfm *tfm)
 {
-       if (!in_softirq())
+       if (!in_atomic())
                cond_resched();
 }