diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-24 08:54:24 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:59 +1100 |
commit | 1c5dfe6a959b79215c0f73d793169a7d5755900e (patch) | |
tree | 642539aee296f6819b50d0a47d0797fb3c78e0e6 /include/crypto/scatterwalk.h | |
parent | 214dc54f6f1b71bcd895ef272c108c67ef046200 (diff) | |
download | linux-1c5dfe6a959b79215c0f73d793169a7d5755900e.tar.gz linux-1c5dfe6a959b79215c0f73d793169a7d5755900e.tar.bz2 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/scatterwalk.h')
-rw-r--r-- | include/crypto/scatterwalk.h | 1 |
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) { |