aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/htc-pasic3.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-07-25 08:57:58 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-26 09:43:05 -0400
commit3bc9f79ee1ddc913be0a6d3592036683ef8a3148 (patch)
tree21f0dc5f5feb140d8566e22fa3c7ecac009e27f3 /drivers/mfd/htc-pasic3.c
parent024e8ac04453b3525448c31ef39848cf675ba6db (diff)
iommu: add iommu_num_pages helper function
Calculating the number of pages from given address and length numbers is a task required in multiple IOMMU implementations. So implement this as a generic function into the IOMMU helper code. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Cc: iommu@lists.linux-foundation.org Cc: bhavna.sarathy@amd.com Cc: robert.richter@amd.com Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/mfd/htc-pasic3.c')
0 files changed, 0 insertions, 0 deletions