Skip to content

Commit b01cec3

Browse files
committed
bootup-hacks: xor select neon or arm4regs
already default on BBB/X15, just calcuated everybootup Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
1 parent 79b49fd commit b01cec3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • arch/arm/include/asm

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)