diff options
Diffstat (limited to 'crypto/async_tx/async_xor.c')
-rw-r--r-- | crypto/async_tx/async_xor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/async_tx/async_xor.c b/crypto/async_tx/async_xor.c index e1bce26cd4f..da75777f2b3 100644 --- a/crypto/async_tx/async_xor.c +++ b/crypto/async_tx/async_xor.c | |||
@@ -182,7 +182,7 @@ async_xor(struct page *dest, struct page **src_list, unsigned int offset, | |||
182 | BUG_ON(src_cnt <= 1); | 182 | BUG_ON(src_cnt <= 1); |
183 | 183 | ||
184 | if (device) | 184 | if (device) |
185 | unmap = dmaengine_get_unmap_data(device->dev, src_cnt+1, GFP_NOIO); | 185 | unmap = dmaengine_get_unmap_data(device->dev, src_cnt+1, GFP_NOWAIT); |
186 | 186 | ||
187 | if (unmap && is_dma_xor_aligned(device, offset, 0, len)) { | 187 | if (unmap && is_dma_xor_aligned(device, offset, 0, len)) { |
188 | struct dma_async_tx_descriptor *tx; | 188 | struct dma_async_tx_descriptor *tx; |
@@ -278,7 +278,7 @@ async_xor_val(struct page *dest, struct page **src_list, unsigned int offset, | |||
278 | BUG_ON(src_cnt <= 1); | 278 | BUG_ON(src_cnt <= 1); |
279 | 279 | ||
280 | if (device) | 280 | if (device) |
281 | unmap = dmaengine_get_unmap_data(device->dev, src_cnt, GFP_NOIO); | 281 | unmap = dmaengine_get_unmap_data(device->dev, src_cnt, GFP_NOWAIT); |
282 | 282 | ||
283 | if (unmap && src_cnt <= device->max_xor && | 283 | if (unmap && src_cnt <= device->max_xor && |
284 | is_dma_xor_aligned(device, offset, 0, len)) { | 284 | is_dma_xor_aligned(device, offset, 0, len)) { |