swiotlb: allow arch override of address_needs_mapping
authorBecky Bruce <beckyb@kernel.crashing.org>
Wed, 8 Apr 2009 14:09:18 +0000 (09:09 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 8 Apr 2009 14:18:36 +0000 (16:18 +0200)
commitef5722f698bde01cfec2b98fff733a48663ebf55
tree80eba1195866f2643d1343b318d9caa2b81aa347
parentdd6b02fe427f30520d0adc94aa52352367227873
swiotlb: allow arch override of address_needs_mapping

Some architectures require additional checking to determine
if a device can dma to an address and need to provide their
own address_needs_mapping..

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Cc: jeremy@goop.org
Cc: ian.campbell@citrix.com
LKML-Reference: <1239199761-22886-5-git-send-email-galak@kernel.crashing.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
lib/swiotlb.c