diff options
author | Danny Tsen <dtsen@linux.ibm.com> | 2023-04-13 15:46:25 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-04-20 18:20:05 +0800 |
commit | 1560541631a6f3215d27aeea182a5682644d33ba (patch) | |
tree | 5c9027c6be8db1756f8ef572600e782312861208 /arch | |
parent | 9c716e1bd369afa2d1c5038297e8ceda3f82db7d (diff) | |
download | linux-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')
-rw-r--r-- | arch/powerpc/crypto/aes-gcm-p10-glue.c | 1 | ||||
-rw-r--r-- | arch/powerpc/include/asm/cpufeature.h | 1 |
2 files changed, 1 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 diff --git a/arch/powerpc/include/asm/cpufeature.h b/arch/powerpc/include/asm/cpufeature.h index f6f790a90367..2dcc66225e7f 100644 --- a/arch/powerpc/include/asm/cpufeature.h +++ b/arch/powerpc/include/asm/cpufeature.h @@ -22,6 +22,7 @@ */ #define PPC_MODULE_FEATURE_VEC_CRYPTO (32 + ilog2(PPC_FEATURE2_VEC_CRYPTO)) +#define PPC_MODULE_FEATURE_P10 (32 + ilog2(PPC_FEATURE2_ARCH_3_1)) #define cpu_feature(x) (x) |