commit | d3097e39302083d58922a3d1032d7d59a63d263d | [log] [tgz] |
---|---|---|
author | Robin Murphy <robin.murphy@arm.com> | Mon Sep 12 17:13:53 2016 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Fri Sep 16 09:34:20 2016 +0100 |
tree | c38a1ab110a06caac74e655cdb32e13e49397772 | |
parent | d6fc5d977671d16535de66645f83a1bd07e1317d [diff] |
iommu/arm-smmu: Add a stream map entry iterator We iterate over the SMEs associated with a master config quite a lot in various places, and are about to do so even more. Let's wrap the idiom in a handy iterator macro before the repetition gets out of hand. Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>