diff options
author | Suman Anna <s-anna@ti.com> | 2014-10-23 00:22:26 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-10-23 14:32:25 +0200 |
commit | 124262a2eecc4c3e6e96e083e50ce4909b2d69d9 (patch) | |
tree | 92cb65cb0d754750c4c1707d76cd10f20c55818b /drivers/iommu/omap-iommu.c | |
parent | iommu/omap: Remove bogus version check in context save/restore (diff) | |
download | linux-124262a2eecc4c3e6e96e083e50ce4909b2d69d9.tar.xz linux-124262a2eecc4c3e6e96e083e50ce4909b2d69d9.zip |
iommu/omap: Simplify omap2_iommu_fault_isr()
The function omap2_iommu_fault_isr() does an unnecessary
recomputation of the return value. The logic relies on
setting the same bit fields as the MMU fault error status
bits, so simplify this function and remove the unneeded
macros. These macros were originally exported to notify
MMU faults to users prior to the IOMMU framework adaptation,
but are now redundant.
Signed-off-by: Suman Anna <s-anna@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
0 files changed, 0 insertions, 0 deletions