summaryrefslogtreecommitdiff
path: root/crypto/scatterwalk.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-07 18:52:49 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:32 +1100
commit35e87430ba6ed71cee3f14210ae5301e9a7cc49c (patch)
treefa6f77e5152791738f1edf3b7778ab44838a9477 /crypto/scatterwalk.c
parent45547f16489680fbbe7e7ae97bd148a993f9c11a (diff)
downloadlinux-crypto-35e87430ba6ed71cee3f14210ae5301e9a7cc49c.tar.gz
linux-crypto-35e87430ba6ed71cee3f14210ae5301e9a7cc49c.zip
[CRYPTO] scatterwalk: Move scatterwalk.h to linux/crypto
The scatterwalk infrastructure is used by algorithms so it needs to move out of crypto for future users that may live in drivers/crypto or asm/*/crypto. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/scatterwalk.c')
-rw-r--r--crypto/scatterwalk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/scatterwalk.c b/crypto/scatterwalk.c
index 206c39a9..12d19019 100644
--- a/crypto/scatterwalk.c
+++ b/crypto/scatterwalk.c
@@ -13,6 +13,8 @@
* any later version.
*
*/
+
+#include <crypto/scatterwalk.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/module.h>
@@ -20,9 +22,6 @@
#include <linux/highmem.h>
#include <linux/scatterlist.h>
-#include "internal.h"
-#include "scatterwalk.h"
-
static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out)
{
void *src = out ? buf : sgdata;