Commit 1c5dfe6a authored by Herbert Xu's avatar Herbert Xu

[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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 214dc54f
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment