From: FUJITA Tomonori Date: Fri, 10 Jul 2009 01:04:59 +0000 (+0900) Subject: powerpc: remove unncesary swiotlb_arch_address_needs_mapping X-Git-Tag: v2.6.32-rc1~727^2~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30945fdf6a08f52370dab3bc162e96c4b4e36082;p=pandora-kernel.git powerpc: remove unncesary swiotlb_arch_address_needs_mapping swiotlb doesn't use swiotlb_arch_address_needs_mapping(); it uses dma_capalbe(). We can remove unnecessary swiotlb_arch_address_needs_mapping(). We can remove swiotlb_addr_needs_map() and is_buffer_dma_capable() in swiotlb_pci_addr_needs_map() too; dma_capable() handles the features that both provide. Signed-off-by: FUJITA Tomonori Acked-by: Becky Bruce --- Reading git-diff-tree failed