diff options
-rw-r--r-- | drivers/md/raid6algos.c | 19 | ||||
-rw-r--r-- | include/linux/raid/pq.h | 19 |
2 files changed, 19 insertions, 19 deletions
diff --git a/drivers/md/raid6algos.c b/drivers/md/raid6algos.c index 866215ac7f25..8ce102cc2e7b 100644 --- a/drivers/md/raid6algos.c +++ b/drivers/md/raid6algos.c | |||
@@ -31,25 +31,6 @@ EXPORT_SYMBOL(raid6_empty_zero_page); | |||
31 | struct raid6_calls raid6_call; | 31 | struct raid6_calls raid6_call; |
32 | EXPORT_SYMBOL_GPL(raid6_call); | 32 | EXPORT_SYMBOL_GPL(raid6_call); |
33 | 33 | ||
34 | /* Various routine sets */ | ||
35 | extern const struct raid6_calls raid6_intx1; | ||
36 | extern const struct raid6_calls raid6_intx2; | ||
37 | extern const struct raid6_calls raid6_intx4; | ||
38 | extern const struct raid6_calls raid6_intx8; | ||
39 | extern const struct raid6_calls raid6_intx16; | ||
40 | extern const struct raid6_calls raid6_intx32; | ||
41 | extern const struct raid6_calls raid6_mmxx1; | ||
42 | extern const struct raid6_calls raid6_mmxx2; | ||
43 | extern const struct raid6_calls raid6_sse1x1; | ||
44 | extern const struct raid6_calls raid6_sse1x2; | ||
45 | extern const struct raid6_calls raid6_sse2x1; | ||
46 | extern const struct raid6_calls raid6_sse2x2; | ||
47 | extern const struct raid6_calls raid6_sse2x4; | ||
48 | extern const struct raid6_calls raid6_altivec1; | ||
49 | extern const struct raid6_calls raid6_altivec2; | ||
50 | extern const struct raid6_calls raid6_altivec4; | ||
51 | extern const struct raid6_calls raid6_altivec8; | ||
52 | |||
53 | const struct raid6_calls * const raid6_algos[] = { | 34 | const struct raid6_calls * const raid6_algos[] = { |
54 | &raid6_intx1, | 35 | &raid6_intx1, |
55 | &raid6_intx2, | 36 | &raid6_intx2, |
diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index d92480f8285c..1cbbd2c11aa9 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h | |||
@@ -78,6 +78,25 @@ struct raid6_calls { | |||
78 | /* Selected algorithm */ | 78 | /* Selected algorithm */ |
79 | extern struct raid6_calls raid6_call; | 79 | extern struct raid6_calls raid6_call; |
80 | 80 | ||
81 | /* Various routine sets */ | ||
82 | extern const struct raid6_calls raid6_intx1; | ||
83 | extern const struct raid6_calls raid6_intx2; | ||
84 | extern const struct raid6_calls raid6_intx4; | ||
85 | extern const struct raid6_calls raid6_intx8; | ||
86 | extern const struct raid6_calls raid6_intx16; | ||
87 | extern const struct raid6_calls raid6_intx32; | ||
88 | extern const struct raid6_calls raid6_mmxx1; | ||
89 | extern const struct raid6_calls raid6_mmxx2; | ||
90 | extern const struct raid6_calls raid6_sse1x1; | ||
91 | extern const struct raid6_calls raid6_sse1x2; | ||
92 | extern const struct raid6_calls raid6_sse2x1; | ||
93 | extern const struct raid6_calls raid6_sse2x2; | ||
94 | extern const struct raid6_calls raid6_sse2x4; | ||
95 | extern const struct raid6_calls raid6_altivec1; | ||
96 | extern const struct raid6_calls raid6_altivec2; | ||
97 | extern const struct raid6_calls raid6_altivec4; | ||
98 | extern const struct raid6_calls raid6_altivec8; | ||
99 | |||
81 | /* Algorithm list */ | 100 | /* Algorithm list */ |
82 | extern const struct raid6_calls * const raid6_algos[]; | 101 | extern const struct raid6_calls * const raid6_algos[]; |
83 | int raid6_select_algo(void); | 102 | int raid6_select_algo(void); |