diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/md/raid6algos.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/md/raid6algos.c')
-rw-r--r-- | drivers/md/raid6algos.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/drivers/md/raid6algos.c b/drivers/md/raid6algos.c index 866215ac7f25..1f8784bfd44d 100644 --- a/drivers/md/raid6algos.c +++ b/drivers/md/raid6algos.c | |||
@@ -17,6 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/raid/pq.h> | 19 | #include <linux/raid/pq.h> |
20 | #include <linux/gfp.h> | ||
20 | #ifndef __KERNEL__ | 21 | #ifndef __KERNEL__ |
21 | #include <sys/mman.h> | 22 | #include <sys/mman.h> |
22 | #include <stdio.h> | 23 | #include <stdio.h> |
@@ -31,25 +32,6 @@ EXPORT_SYMBOL(raid6_empty_zero_page); | |||
31 | struct raid6_calls raid6_call; | 32 | struct raid6_calls raid6_call; |
32 | EXPORT_SYMBOL_GPL(raid6_call); | 33 | EXPORT_SYMBOL_GPL(raid6_call); |
33 | 34 | ||
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[] = { | 35 | const struct raid6_calls * const raid6_algos[] = { |
54 | &raid6_intx1, | 36 | &raid6_intx1, |
55 | &raid6_intx2, | 37 | &raid6_intx2, |
@@ -169,3 +151,4 @@ static void raid6_exit(void) | |||
169 | subsys_initcall(raid6_select_algo); | 151 | subsys_initcall(raid6_select_algo); |
170 | module_exit(raid6_exit); | 152 | module_exit(raid6_exit); |
171 | MODULE_LICENSE("GPL"); | 153 | MODULE_LICENSE("GPL"); |
154 | MODULE_DESCRIPTION("RAID6 Q-syndrome calculations"); | ||