omap: iommu: PREFETCH_IOTLB cleanup
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 16 Aug 2011 12:19:10 +0000 (15:19 +0300)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:31 +0000 (11:11 +0200)
commit68e64557158d87812b361c0a6be66bc7d41dce04
tree8ca34ed3563910dc63ea75f9cc8594a746b74b84
parent1f698eb6d6b921dfa8a98a24001c353be63cf9f8
omap: iommu: PREFETCH_IOTLB cleanup

Use PREFETCH_IOTLB to control the content of the called function,
instead of inlining it in the code.

This improves readability of the code, and also prevents an "unused
function" warning to show up when PREFETCH_IOTLB isn't set.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/omap-iommu.c