commit | b410aed93288d0bd7650c4d17fd0f306b5082d6f | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Thu Feb 20 16:31:06 2014 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Mon Feb 24 19:09:45 2014 +0000 |
tree | ed76629aee92ccb538fdd30b0f3c9c47b2976944 | |
parent | 0c9d70d72453036195682e64efce77872e9f268b [diff] |
iommu/arm-smmu: clean up use of `flags' in page table handling code Commit 972157cac528 ("arm/smmu: Use irqsafe spinlock for domain lock") fixed our page table locks to be the irq{save,restore} variants, since the DMA mapping API can be invoked from interrupt context. This patch cleans up our use of the flags variable so we can distinguish between IRQ flags (now `flags') and pte protection bits (now `prot'). Signed-off-by: Will Deacon <will.deacon@arm.com>