iommu/arm-smmu: clean up use of `flags' in page table handling code
authorWill Deacon <will.deacon@arm.com>
Thu, 20 Feb 2014 16:31:06 +0000 (16:31 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 24 Feb 2014 19:09:45 +0000 (19:09 +0000)
commitb410aed93288d0bd7650c4d17fd0f306b5082d6f
treeed76629aee92ccb538fdd30b0f3c9c47b2976944
parent0c9d70d72453036195682e64efce77872e9f268b
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>
drivers/iommu/arm-smmu.c