commit | 30945fdf6a08f52370dab3bc162e96c4b4e36082 | [log] [tgz] |
---|---|---|
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Fri Jul 10 10:04:59 2009 +0900 |
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Tue Jul 28 14:19:19 2009 +0900 |
tree | 915ac16aedfda98a65d0a06f63be58d1c3215d04 | |
parent | b9394647ac88faad9db0f9e92eac4db434faded6 [diff] |
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 <fujita.tomonori@lab.ntt.co.jp> Acked-by: Becky Bruce <beckyb@kernel.crashing.org>