From: Dan Williams Date: Wed, 3 Jun 2009 21:22:28 +0000 (-0700) Subject: async_xor: permit callers to pass in a 'dma/page scribble' region X-Git-Tag: v2.6.32-rc1~60^2^2~14^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ce9ab385dc97eb55299d533cd3af79b8fc7529;p=pandora-kernel.git async_xor: permit callers to pass in a 'dma/page scribble' region async_xor() needs space to perform dma and page address conversions. In most cases the code can simply reuse the struct page * array because the size of the native pointer matches the size of a dma/page address. In order to support archs where sizeof(dma_addr_t) is larger than sizeof(struct page *), or to preserve the input parameters, we utilize a memory region passed in by the caller. Since the code is now prepared to handle the case where it cannot perform address conversions on the stack, we no longer need the !HIGHMEM64G dependency in drivers/dma/Kconfig. [ Impact: don't clobber input buffers for address conversions ] Reviewed-by: Andre Noll Acked-by: Maciej Sosnowski Signed-off-by: Dan Williams --- Reading git-diff-tree failed