summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-24 01:54:24 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 22:16:59 +0100
commit1c5dfe6a959b79215c0f73d793169a7d5755900e (patch)
tree642539aee296f6819b50d0a47d0797fb3c78e0e6 /include/crypto
parent[CRYPTO] salsa20-asm: Remove unnecessary dependency on CRYPTO_SALSA20 (diff)
downloadlinux-1c5dfe6a959b79215c0f73d793169a7d5755900e.tar.xz
linux-1c5dfe6a959b79215c0f73d793169a7d5755900e.zip
[CRYPTO] api: Include sched.h for cond_resched in scatterwalk.h
As Andrew Morton correctly points out, we need to explicitly include sched.h as we use the function cond_resched in crypto/scatterwalk.h. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/scatterwalk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/scatterwalk.h b/include/crypto/scatterwalk.h
index bd62431c33bd..224658b8d806 100644
--- a/include/crypto/scatterwalk.h
+++ b/include/crypto/scatterwalk.h
@@ -23,6 +23,7 @@
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
+#include <linux/sched.h>
static inline enum km_type crypto_kmap_type(int out)
{