From: Will Deacon Date: Tue, 20 Aug 2019 16:32:18 +0000 (+0100) Subject: iommu/arm-smmu-v3: Remove boolean bitfield for 'ats_enabled' flag X-Git-Tag: iommu-updates-v5.4^4~1^2^2~5 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f75d8e33df91ee66fc12820d0da1454b76ebcff9;p=users%2Fdwmw2%2Flinux.git iommu/arm-smmu-v3: Remove boolean bitfield for 'ats_enabled' flag There's really no need for this to be a bitfield, particularly as we don't have bitwise addressing on arm64. Signed-off-by: Will Deacon --- diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index 7a368059cd7d9..2be11a11bb8bf 100644 --- a/drivers/iommu/arm-smmu-v3.c +++ b/drivers/iommu/arm-smmu-v3.c @@ -637,7 +637,7 @@ struct arm_smmu_master { struct list_head domain_head; u32 *sids; unsigned int num_sids; - bool ats_enabled :1; + bool ats_enabled; }; /* SMMU private data for an IOMMU domain */