iommu: add dma_get_mask helper function
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 12 Sep 2008 10:42:34 +0000 (19:42 +0900)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Sep 2008 14:42:37 +0000 (16:42 +0200)
commit589fc9a6e2102b498978f6350581ec7fa5aeb032
tree52bc87c5868170e8f6ff0205654149b47d19e2d5
parenteecfffc154ffbfe70686a9905c090b488778c28e
iommu: add dma_get_mask helper function

Several IOMMUs do the same thing to get the dma_mask of a device. This
adds a helper function to do the same thing to sweep them.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/dma-mapping.h