Skip to content

Commit

Permalink
btrfs: raid6: pick either raid6_neonx2 or raid6_intx4, saves 1 second…
Browse files Browse the repository at this point in the history
… on bootup

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Aug 15, 2018
1 parent a1b13ac commit 1c5cb20
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/raid6/algos.c
Expand Up @@ -81,15 +81,25 @@ const struct raid6_calls * const raid6_algos[] = {
#if defined(CONFIG_S390)
&raid6_s390vx8,
#endif
#ifndef CONFIG_KERNEL_MODE_NEON
#ifndef CONFIG_SOC_AM33XX
&raid6_intx1,
&raid6_intx2,
#endif
&raid6_intx4,
#ifndef CONFIG_SOC_AM33XX
&raid6_intx8,
#endif
#endif
#ifdef CONFIG_KERNEL_MODE_NEON
#ifndef CONFIG_SOC_AM33XX
&raid6_neonx1,
#endif
&raid6_neonx2,
#ifndef CONFIG_SOC_AM33XX
&raid6_neonx4,
&raid6_neonx8,
#endif
#endif
NULL
};
Expand Down

0 comments on commit 1c5cb20

Please sign in to comment.