Messages in this thread | | | Date | Tue, 27 Jul 2021 12:01:16 -0600 | From | Alex Williamson <> | Subject | Re: [PATCH] vfio: Add "#ifdef CONFIG_MMU" for vma operations |
| |
On Tue, 27 Jul 2021 18:35:14 +0200 Cornelia Huck <cohuck@redhat.com> wrote:
> On Tue, Jul 27 2021, Cai Huoqing <caihuoqing@baidu.com> wrote: > > > Add "#ifdef CONFIG_MMU", > > because vma mmap and vm_operations_struct depend on MMU > > vfio_pci already depends on MMU -- what problems are you trying to fix?
Exactly my question, we silenced the randconfig builds without CONFIG_MMU in commit 2a55ca373501 ("vfio/pci: zap_vma_ptes() needs MMU"). Surely there are prototypes for vma_area_struct regardless of CONFIG_MMU and vfio-core having an mmap callback has no dependency on vm_operations_struct. Thanks,
Alex
| |