Skip to content

Commit 3b27884

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 951ee03 commit 3b27884

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
@@ -209,3 +209,9 @@ static struct xor_block_template xor_block_neon = {
209209
#else
210210
#define NEON_TEMPLATES
211211
#endif
212+
213+
#ifdef CONFIG_KERNEL_MODE_NEON
214+
#define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_neon)
215+
#else
216+
#define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_arm4regs)
217+
#endif

0 commit comments

Comments
 (0)