summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/crypto
diff options
context:
space:
mode:
authorDanny Tsen <dtsen@linux.ibm.com>2023-04-13 15:46:25 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2023-04-20 18:20:05 +0800
commit1560541631a6f3215d27aeea182a5682644d33ba (patch)
tree5c9027c6be8db1756f8ef572600e782312861208 /arch/powerpc/crypto
parent9c716e1bd369afa2d1c5038297e8ceda3f82db7d (diff)
downloadlinux-stable-1560541631a6f3215d27aeea182a5682644d33ba.tar.gz
linux-stable-1560541631a6f3215d27aeea182a5682644d33ba.tar.bz2
linux-stable-1560541631a6f3215d27aeea182a5682644d33ba.zip
powerpc: Move Power10 feature PPC_MODULE_FEATURE_P10
Move Power10 feature, PPC_MODULE_FEATURE_P10, definition to be in arch/powerpc/include/asm/cpufeature.h. Signed-off-by: Danny Tsen <dtsen@linux.ibm.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/powerpc/crypto')
-rw-r--r--arch/powerpc/crypto/aes-gcm-p10-glue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/crypto/aes-gcm-p10-glue.c b/arch/powerpc/crypto/aes-gcm-p10-glue.c
index 1533c8cdd26f..bd3475f5348d 100644
--- a/arch/powerpc/crypto/aes-gcm-p10-glue.c
+++ b/arch/powerpc/crypto/aes-gcm-p10-glue.c
@@ -22,7 +22,6 @@
#include <linux/module.h>
#include <linux/types.h>
-#define PPC_MODULE_FEATURE_P10 (32 + ilog2(PPC_FEATURE2_ARCH_3_1))
#define PPC_ALIGN 16
#define GCM_IV_SIZE 12