summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-12-05 12:31:44 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-12-05 16:39:18 +0800
commiteaade84a6302f139aede74fe5a568a70adb9baa2 (patch)
tree63176b35a5ab795496af20502756ad134be65e5b /include/crypto
parent2ae6feb1a1f6678fe11864f1b6920ed10b09ad6a (diff)
downloadlinux-stable-eaade84a6302f139aede74fe5a568a70adb9baa2.tar.gz
linux-stable-eaade84a6302f139aede74fe5a568a70adb9baa2.tar.bz2
linux-stable-eaade84a6302f139aede74fe5a568a70adb9baa2.zip
crypto: api - Use linux/cache.h instead of asm/cache.h
Directly including asm/cache.h leads to build failures on powerpc so replace it with linux/cache.h instead. Fixes: e634ac4a8aaa ("crypto: api - Add crypto_tfm_ctx_dma") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/algapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index 8722fd67f40a..61b327206b55 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -7,8 +7,8 @@
#ifndef _CRYPTO_ALGAPI_H
#define _CRYPTO_ALGAPI_H
-#include <asm/cache.h>
#include <linux/align.h>
+#include <linux/cache.h>
#include <linux/crypto.h>
#include <linux/kconfig.h>
#include <linux/list.h>