Re: [PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct

2017-12-12 Thread Stephen Rothwell
Hi Dan, On Tue, 12 Dec 2017 00:05:08 -0800 Dan Williams wrote: > > On Mon, Dec 11, 2017 at 11:47 PM, Michal Hocko wrote: > > On Mon 11-12-17 17:21:27, Arnd Bergmann wrote: > >> The infiniband umem code causes a build failure in some configurations: > >> > >> In file included from drivers/infi

Re: [PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct

2017-12-12 Thread Stephen Rothwell
Hi Michal, On Tue, 12 Dec 2017 08:47:22 +0100 Michal Hocko wrote: > > On Mon 11-12-17 17:21:27, Arnd Bergmann wrote: > > The infiniband umem code causes a build failure in some configurations: > > > > In file included from drivers/infiniband/core/umem_odp.c:41:0: > > include/linux/hugetlb.h: In

Re: [PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct

2017-12-12 Thread Dan Williams
On Mon, Dec 11, 2017 at 11:47 PM, Michal Hocko wrote: > On Mon 11-12-17 17:21:27, Arnd Bergmann wrote: >> The infiniband umem code causes a build failure in some configurations: >> >> In file included from drivers/infiniband/core/umem_odp.c:41:0: >> include/linux/hugetlb.h: In function 'vma_kernel

Re: [PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct

2017-12-11 Thread Michal Hocko
On Mon 11-12-17 17:21:27, Arnd Bergmann wrote: > The infiniband umem code causes a build failure in some configurations: > > In file included from drivers/infiniband/core/umem_odp.c:41:0: > include/linux/hugetlb.h: In function 'vma_kernel_pagesize': > include/linux/hugetlb.h:262:32: error: derefer

Re: [PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct

2017-12-11 Thread Stephen Rothwell
Hi Arnd, On Mon, 11 Dec 2017 17:21:27 +0100 Arnd Bergmann wrote: > > The infiniband umem code causes a build failure in some configurations: > > In file included from drivers/infiniband/core/umem_odp.c:41:0: > include/linux/hugetlb.h: In function 'vma_kernel_pagesize': > include/linux/hugetlb.h:

[PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct

2017-12-11 Thread Arnd Bergmann
The infiniband umem code causes a build failure in some configurations: In file included from drivers/infiniband/core/umem_odp.c:41:0: include/linux/hugetlb.h: In function 'vma_kernel_pagesize': include/linux/hugetlb.h:262:32: error: dereferencing pointer to incomplete type 'const struct vm_opera