summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-24 08:54:24 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:59 +1100
commit1c5dfe6a959b79215c0f73d793169a7d5755900e (patch)
tree642539aee296f6819b50d0a47d0797fb3c78e0e6 /include/crypto
parent214dc54f6f1b71bcd895ef272c108c67ef046200 (diff)
downloadop-kernel-dev-1c5dfe6a959b79215c0f73d793169a7d5755900e.zip
op-kernel-dev-1c5dfe6a959b79215c0f73d793169a7d5755900e.tar.gz
[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)
{
OpenPOWER on IntegriCloud