diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-01-24 06:47:48 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-01-24 06:47:48 -0500 |
commit | befddb21c845f8fb49e637997891ef97c6a869dc (patch) | |
tree | 0e7629123184f2dd50291ad6d477b894175f0f26 /lib/raid6/algos.c | |
parent | e716efde75267eab919cdb2bef5b2cb77f305326 (diff) | |
parent | 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff) |
Merge tag 'v3.8-rc4' into irq/core
Merge Linux 3.8-rc4 before pulling in new commits - we were on an old v3.7 base.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/raid6/algos.c')
-rw-r--r-- | lib/raid6/algos.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c index 589f5f50ad2e..6d7316fe9f30 100644 --- a/lib/raid6/algos.c +++ b/lib/raid6/algos.c | |||
@@ -45,11 +45,20 @@ const struct raid6_calls * const raid6_algos[] = { | |||
45 | &raid6_sse1x2, | 45 | &raid6_sse1x2, |
46 | &raid6_sse2x1, | 46 | &raid6_sse2x1, |
47 | &raid6_sse2x2, | 47 | &raid6_sse2x2, |
48 | #ifdef CONFIG_AS_AVX2 | ||
49 | &raid6_avx2x1, | ||
50 | &raid6_avx2x2, | ||
51 | #endif | ||
48 | #endif | 52 | #endif |
49 | #if defined(__x86_64__) && !defined(__arch_um__) | 53 | #if defined(__x86_64__) && !defined(__arch_um__) |
50 | &raid6_sse2x1, | 54 | &raid6_sse2x1, |
51 | &raid6_sse2x2, | 55 | &raid6_sse2x2, |
52 | &raid6_sse2x4, | 56 | &raid6_sse2x4, |
57 | #ifdef CONFIG_AS_AVX2 | ||
58 | &raid6_avx2x1, | ||
59 | &raid6_avx2x2, | ||
60 | &raid6_avx2x4, | ||
61 | #endif | ||
53 | #endif | 62 | #endif |
54 | #ifdef CONFIG_ALTIVEC | 63 | #ifdef CONFIG_ALTIVEC |
55 | &raid6_altivec1, | 64 | &raid6_altivec1, |
@@ -72,6 +81,9 @@ EXPORT_SYMBOL_GPL(raid6_datap_recov); | |||
72 | 81 | ||
73 | const struct raid6_recov_calls *const raid6_recov_algos[] = { | 82 | const struct raid6_recov_calls *const raid6_recov_algos[] = { |
74 | #if (defined(__i386__) || defined(__x86_64__)) && !defined(__arch_um__) | 83 | #if (defined(__i386__) || defined(__x86_64__)) && !defined(__arch_um__) |
84 | #ifdef CONFIG_AS_AVX2 | ||
85 | &raid6_recov_avx2, | ||
86 | #endif | ||
75 | &raid6_recov_ssse3, | 87 | &raid6_recov_ssse3, |
76 | #endif | 88 | #endif |
77 | &raid6_recov_intx1, | 89 | &raid6_recov_intx1, |