From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH 12/13] mm: cleanup the hmm_vma_walk_hugetlb_entry stub Date: Tue, 30 Jul 2019 18:02:52 +0000 Message-ID: <20190730180247.GQ24038@mellanox.com> References: <20190730055203.28467-1-hch@lst.de> <20190730055203.28467-13-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20190730055203.28467-13-hch@lst.de> Content-Language: en-US Content-ID: <981A0DE32A12614DB8B2019E51F413F2@eurprd05.prod.outlook.com> Sender: linux-kernel-owner@vger.kernel.org To: Christoph Hellwig Cc: =?iso-8859-1?Q?J=E9r=F4me_Glisse?= , Ben Skeggs , Felix Kuehling , Ralph Campbell , "linux-mm@kvack.org" , "nouveau@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "amd-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" List-Id: dri-devel@lists.freedesktop.org On Tue, Jul 30, 2019 at 08:52:02AM +0300, Christoph Hellwig wrote: > Stub out the whole function and assign NULL to the .hugetlb_entry method > if CONFIG_HUGETLB_PAGE is not set, as the method won't ever be called in > that case. >=20 > Signed-off-by: Christoph Hellwig > --- > mm/hmm.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Jason Gunthorpe Jason