summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-24 00:54:24 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 21:16:59 (GMT)
commit1c5dfe6a959b79215c0f73d793169a7d5755900e (patch)
tree642539aee296f6819b50d0a47d0797fb3c78e0e6 /include/crypto
parent214dc54f6f1b71bcd895ef272c108c67ef046200 (diff)
downloadlinux-1c5dfe6a959b79215c0f73d793169a7d5755900e.tar.xz
[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 bd62431..224658b 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)
{