]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/async_tx/async_memcpy.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_memcpy.c
index 84caa4efc0d447516ce269ed91e85b3ad4f4c85b..a5eda80e84277806b4cbb49c32d55dad233df381 100644 (file)
@@ -77,7 +77,7 @@ async_memcpy(struct page *dest, struct page *src, unsigned int dest_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 depend_tx\n",
                                        __func__);