]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
crypto: api - Use linux/cache.h instead of asm/cache.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 Dec 2022 04:31:44 +0000 (12:31 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 Dec 2022 08:39:18 +0000 (16:39 +0800)
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>
include/crypto/algapi.h

index 8722fd67f40aec0e8ddb6deae45e7309c800aaf0..61b327206b557f89706ae14d716bb4af75f643ae 100644 (file)
@@ -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>