Re: [PATCH] iommu: Move IOMMU_DIRTY_NO_CLEAR define

From: Jason Gunthorpe
Date: Fri Jul 12 2024 - 08:47:02 EST


On Fri, Jul 12, 2024 at 12:31:32PM +0100, Shameer Kolothum wrote:
> 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@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202407121602.HL9ih1it-lkp@xxxxxxxxx/
> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx>
> ---
> include/linux/iommu.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason