Skip to content

Commit 33cf38f

Browse files
committed
bootup-hacks: xor select neon or arm4regs
already default on BBB/X15, just calcuated everybootup Signed-off-by: Robert Nelson <[email protected]>
1 parent 5fe4f07 commit 33cf38f

File tree

1 file changed

+6
-0
lines changed
  • arch/arm/include/asm

1 file changed

+6
-0
lines changed

arch/arm/include/asm/xor.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,9 @@ static struct xor_block_template xor_block_neon = {
212212
#else
213213
#define NEON_TEMPLATES
214214
#endif
215+
216+
#ifdef CONFIG_KERNEL_MODE_NEON
217+
#define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_neon)
218+
#else
219+
#define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_arm4regs)
220+
#endif

0 commit comments

Comments
 (0)