iommu/arm-smmu-v3: Remove boolean bitfield for 'ats_enabled' flag
authorWill Deacon <will@kernel.org>
Tue, 20 Aug 2019 16:32:18 +0000 (17:32 +0100)
committerWill Deacon <will@kernel.org>
Wed, 21 Aug 2019 16:58:40 +0000 (17:58 +0100)
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 <will@kernel.org>
drivers/iommu/arm-smmu-v3.c

index 7a36805..2be11a1 100644 (file)
@@ -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 */