diff options
author | Yuanhan Liu <yuanhan.liu@linux.intel.com> | 2012-11-30 16:10:39 -0500 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-12-13 03:51:03 -0500 |
commit | 2c935842bdb46f5f557426feb4d2bdfdad1aa5f9 (patch) | |
tree | 3b089f583018fb5c1d58192dbf7ff92e914ddac2 /include/linux/raid/pq.h | |
parent | 7056741fd9fc14a65608549a4657cf5178f05f63 (diff) |
lib/raid6: Add AVX2 optimized gen_syndrome functions
Add AVX2 optimized gen_syndrom functions, which is simply based on
sse2.c written by hpa.
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid/pq.h')
-rw-r--r-- | include/linux/raid/pq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index 3156347452b9..8dfaa2ce2e95 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h | |||
@@ -98,6 +98,9 @@ extern const struct raid6_calls raid6_altivec1; | |||
98 | extern const struct raid6_calls raid6_altivec2; | 98 | extern const struct raid6_calls raid6_altivec2; |
99 | extern const struct raid6_calls raid6_altivec4; | 99 | extern const struct raid6_calls raid6_altivec4; |
100 | extern const struct raid6_calls raid6_altivec8; | 100 | extern const struct raid6_calls raid6_altivec8; |
101 | extern const struct raid6_calls raid6_avx2x1; | ||
102 | extern const struct raid6_calls raid6_avx2x2; | ||
103 | extern const struct raid6_calls raid6_avx2x4; | ||
101 | 104 | ||
102 | struct raid6_recov_calls { | 105 | struct raid6_recov_calls { |
103 | void (*data2)(int, size_t, int, int, void **); | 106 | void (*data2)(int, size_t, int, int, void **); |