]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/async_tx/async_xor.c
dmaengine: ack to flags: make use of the unused bits in the 'ack' field
[linux-2.6-omap-h63xx.git] / crypto / async_tx / async_xor.c
index 1c445c7bdab7af3695eda2c43d07ba8c6b8ebfc2..3a0dddca5a1097e473d103a15797547da66e7bf1 100644 (file)
@@ -191,7 +191,7 @@ async_xor(struct page *dest, struct page **src_list, unsigned int offset,
                                /* if ack is already set then we cannot be sure
                                 * we are referring to the correct operation
                                 */
-                               BUG_ON(depend_tx->ack);
+                               BUG_ON(async_tx_test_ack(depend_tx));
                                if (dma_wait_for_async_tx(depend_tx) ==
                                        DMA_ERROR)
                                        panic("%s: DMA_ERROR waiting for "