Skip to content

Commit

Permalink
[CRYPTO] api: Include sched.h for cond_resched in scatterwalk.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
herbertx committed Jan 10, 2008
1 parent 214dc54 commit 1c5dfe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/crypto/scatterwalk.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 1c5dfe6

Please sign in to comment.