Skip to content

Commit 1560541

Browse files
Danny Tsenherbertx
authored andcommitted
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>
1 parent 9c716e1 commit 1560541

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

arch/powerpc/crypto/aes-gcm-p10-glue.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include <linux/module.h>
2323
#include <linux/types.h>
2424

25-
#define PPC_MODULE_FEATURE_P10 (32 + ilog2(PPC_FEATURE2_ARCH_3_1))
2625
#define PPC_ALIGN 16
2726
#define GCM_IV_SIZE 12
2827

arch/powerpc/include/asm/cpufeature.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
#define PPC_MODULE_FEATURE_VEC_CRYPTO (32 + ilog2(PPC_FEATURE2_VEC_CRYPTO))
25+
#define PPC_MODULE_FEATURE_P10 (32 + ilog2(PPC_FEATURE2_ARCH_3_1))
2526

2627
#define cpu_feature(x) (x)
2728

0 commit comments

Comments
 (0)