]> www.infradead.org Git - users/dwmw2/linux.git/commit
iommu: Move IOMMU_DIRTY_NO_CLEAR define
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Fri, 12 Jul 2024 11:31:32 +0000 (12:31 +0100)
committerWill Deacon <will@kernel.org>
Fri, 12 Jul 2024 15:19:52 +0000 (16:19 +0100)
commit9b2bc6b9a264b863a2273c02db5ee9e214e0a526
treebbf3eeff63783dd0149d64edbdd9faf0387c502e
parentac4e52c69f2d20b13f37397f44fa3d59dc4a87f9
iommu: Move IOMMU_DIRTY_NO_CLEAR define

Fixes the compile issue when CONFIG_IOMMU_API is not set.

Fixes: 4fe88fd8b4ae ("iommu/io-pgtable-arm: Add read_and_clear_dirty() support")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407121602.HL9ih1it-lkp@intel.com/
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240712113132.45100-1-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
include/linux/iommu.h