aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/scatterwalk.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-12-10 16:30:09 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2021-12-17 16:59:48 +1100
commit244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f (patch)
tree7b9ced0ecb56bd6b52eaae1a7e05f86f2a59e9c2 /include/crypto/scatterwalk.h
parentcrypto: marvell/octeontx - Use kcalloc() instead of kzalloc() (diff)
downloadlinux-dev-244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f.tar.xz
linux-dev-244d22ffd656bc8e5c49a2cd2fdfeb0e52a9730f.zip
crypto: api - Replace kernel.h with the necessary inclusions
When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved. Replace kernel.h inclusion with the list of what is really being used. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/scatterwalk.h')
-rw-r--r--include/crypto/scatterwalk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/crypto/scatterwalk.h b/include/crypto/scatterwalk.h
index 7af08174a721..6407b4b61350 100644
--- a/include/crypto/scatterwalk.h
+++ b/include/crypto/scatterwalk.h
@@ -12,8 +12,9 @@
#define _CRYPTO_SCATTERWALK_H
#include <crypto/algapi.h>
+
#include <linux/highmem.h>
-#include <linux/kernel.h>
+#include <linux/mm.h>
#include <linux/scatterlist.h>
static inline void scatterwalk_crypto_chain(struct scatterlist *head,