projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
214dc54
)
[CRYPTO] api: Include sched.h for cond_resched in scatterwalk.h
author
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 24 Dec 2007 00:54:24 +0000
(08:54 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:59 +0000
(08:16 +1100)
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>
include/crypto/scatterwalk.h
patch
|
blob
|
history
diff --git
a/include/crypto/scatterwalk.h
b/include/crypto/scatterwalk.h
index bd62431c33bdbbc0651b6542a917303af8ada16a..224658b8d80689560e6ebf7c7bd94c41a2ea76bf 100644
(file)
--- 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)
{