omap: iommu: PREFETCH_IOTLB cleanup
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 16 Aug 2011 12:19:10 +0000 (15:19 +0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 26 Aug 2011 09:46:00 +0000 (11:46 +0200)
commit5da14a471455bd725534d18604b4d89ffbe158df
tree32265ab3d038268d55709394855726487fce5d17
parente1f2381332825f04b9816f354fdd48f17dc6193d
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