summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-07-01 16:12:53 -0700
committerDan Williams <dan.j.williams@intel.com>2009-07-01 16:12:53 -0700
commitc0a16d573d49785fedcacf87328ac5257bcb70c0 (patch)
tree358ae8fb6ae62eb5677332274bf14fc9dbe344f9
parentd243cdfcd57095cc58b4fa182417c147a1a138c3 (diff)
downloadlinux-crypto-c0a16d573d49785fedcacf87328ac5257bcb70c0.tar.gz
linux-crypto-c0a16d573d49785fedcacf87328ac5257bcb70c0.zip
dmaengine: move HIGHMEM64G restriction to ASYNC_TX_DMA
On HIGHMEM64G systems dma_addr_t is known to be larger than (void *) which precludes async_xor from performing dma address conversions by reusing the input parameter address list. However, other parts of the dmaengine infrastructure do not suffer this constraint, so the HIGHMEM64G restriction can be down-levelled. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r--crypto/async_tx/async_xor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/async_tx/async_xor.c b/crypto/async_tx/async_xor.c
index 95fe2c8d..90dd3f8b 100644
--- a/crypto/async_tx/async_xor.c
+++ b/crypto/async_tx/async_xor.c
@@ -300,7 +300,7 @@ EXPORT_SYMBOL_GPL(async_xor_zero_sum);
static int __init async_xor_init(void)
{
- #ifdef CONFIG_DMA_ENGINE
+ #ifdef CONFIG_ASYNC_TX_DMA
/* To conserve stack space the input src_list (array of page pointers)
* is reused to hold the array of dma addresses passed to the driver.
* This conversion is only possible when dma_addr_t is less than the