diff options
Diffstat (limited to 'crypto/async_tx/raid6test.c')
-rw-r--r-- | crypto/async_tx/raid6test.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/async_tx/raid6test.c b/crypto/async_tx/raid6test.c index 3ec27c7e62ea..c1321935ebcc 100644 --- a/crypto/async_tx/raid6test.c +++ b/crypto/async_tx/raid6test.c | |||
@@ -20,6 +20,7 @@ | |||
20 | * | 20 | * |
21 | */ | 21 | */ |
22 | #include <linux/async_tx.h> | 22 | #include <linux/async_tx.h> |
23 | #include <linux/gfp.h> | ||
23 | #include <linux/random.h> | 24 | #include <linux/random.h> |
24 | 25 | ||
25 | #undef pr | 26 | #undef pr |
@@ -214,6 +215,13 @@ static int raid6_test(void) | |||
214 | err += test(4, &tests); | 215 | err += test(4, &tests); |
215 | if (NDISKS > 5) | 216 | if (NDISKS > 5) |
216 | err += test(5, &tests); | 217 | err += test(5, &tests); |
218 | /* the 11 and 12 disk cases are special for ioatdma (p-disabled | ||
219 | * q-continuation without extended descriptor) | ||
220 | */ | ||
221 | if (NDISKS > 12) { | ||
222 | err += test(11, &tests); | ||
223 | err += test(12, &tests); | ||
224 | } | ||
217 | err += test(NDISKS, &tests); | 225 | err += test(NDISKS, &tests); |
218 | 226 | ||
219 | pr("\n"); | 227 | pr("\n"); |