aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-23 19:54:24 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-10 16:16:59 -0500
commit1c5dfe6a959b79215c0f73d793169a7d5755900e (patch)
tree642539aee296f6819b50d0a47d0797fb3c78e0e6 /include
parent214dc54f6f1b71bcd895ef272c108c67ef046200 (diff)
[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')
-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 @@
23#include <linux/kernel.h> 23#include <linux/kernel.h>
24#include <linux/mm.h> 24#include <linux/mm.h>
25#include <linux/scatterlist.h> 25#include <linux/scatterlist.h>
26#include <linux/sched.h>
26 27
27static inline enum km_type crypto_kmap_type(int out) 28static inline enum km_type crypto_kmap_type(int out)
28{ 29{