diff options
author | Joerg Roedel <jroedel@suse.de> | 2017-04-12 08:21:29 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-04-20 17:33:58 +0300 |
commit | ede1c2e7d4dc49fb1591e1754db9d53fabbd4b8b (patch) | |
tree | 046f68f855475742e265186dc82ad921f0532a9e /mm/page_counter.c | |
parent | e73b7afe4e8ca5ec4304a9e1d5009755a85fff91 (diff) | |
download | linux-ede1c2e7d4dc49fb1591e1754db9d53fabbd4b8b.tar.xz |
iommu/omap: Store iommu_dev pointer in arch_data
Instead of finding the matching IOMMU for a device using
string comparision functions, store the pointer to the
iommu_dev in arch_data during the omap_iommu_add_device
callback and reset it during the omap_iommu_remove_device
callback functions.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
[s-anna@ti.com: few minor cleanups]
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'mm/page_counter.c')
0 files changed, 0 insertions, 0 deletions