From: Nishanth Aravamudan Date: Wed, 15 Sep 2010 08:05:46 +0000 (+0000) Subject: powerpc/dma: Fix check for direct DMA support X-Git-Tag: v2.6.37-rc1~180^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffa56e555a6e4c205e879636e6cd6104ce03421f;p=pandora-kernel.git powerpc/dma: Fix check for direct DMA support The current check is wrong because it does not take the DMA offset intot account, and in the case of a driver which doesn't actually support 64bits would falsely report that device as working. Signed-off-by: Milton Miller Signed-off-by: Nishanth Aravamudan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed