Re: [PATCH v5 2/7] iommu/sva: Move PASID helpers to sva code
From: Jason Gunthorpe
Date: Thu Mar 09 2023 - 20:43:57 EST
On Thu, Mar 09, 2023 at 02:21:54PM -0800, Jacob Pan wrote:
> diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h
> index 2a243616f222..f341a7a855e8 100644
> --- a/include/linux/sched/mm.h
> +++ b/include/linux/sched/mm.h
> @@ -8,7 +8,7 @@
> #include <linux/mm_types.h>
> #include <linux/gfp.h>
> #include <linux/sync_core.h>
> -#include <linux/ioasid.h>
> +#include <linux/iommu-helper.h>
Don't include this here, fork.cc is the only caller put the include
there
Otherwise it looks pretty logical
Jason