Explorar o código

[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>
Herbert Xu %!s(int64=17) %!d(string=hai) anos
pai
achega
1c5dfe6a95
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/crypto/scatterwalk.h

+ 1 - 0
include/crypto/scatterwalk.h

@@ -23,6 +23,7 @@
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
 #include <linux/mm.h>
 #include <linux/scatterlist.h>
 #include <linux/scatterlist.h>
+#include <linux/sched.h>
 
 
 static inline enum km_type crypto_kmap_type(int out)
 static inline enum km_type crypto_kmap_type(int out)
 {
 {