From mboxrd@z Thu Jan 1 00:00:00 1970 From: 'Christoph Hellwig' Date: Fri, 09 Aug 2019 14:45:31 +0000 Subject: Re: remove sn2, hpsim and ia64 machvecs Message-Id: <20190809144531.GA10398@lst.de> List-Id: References: <20190807133049.20893-1-hch@lst.de> <3908561D78D1C84285E8C5FCA982C28F7F41388B@ORSMSX115.amr.corp.intel.com> <3908561D78D1C84285E8C5FCA982C28F7F4143CB@ORSMSX115.amr.corp.intel.com> <20190807230737.GA11458@agluck-desk2.amr.corp.intel.com> <20190808065123.GA29146@lst.de> <20190808180129.GA18553@agluck-desk2.amr.corp.intel.com> In-Reply-To: <20190808180129.GA18553@agluck-desk2.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Luck, Tony" Cc: 'Christoph Hellwig' , "Yu, Fenghua" , 'Arnd Bergmann' , 'Greg Kroah-Hartman' , "'linux-ia64@vger.kernel.org'" , "'linux-kernel@vger.kernel.org'" On Thu, Aug 08, 2019 at 11:01:30AM -0700, Luck, Tony wrote: > So most configs now build, and the generic one boots on my Tukwila system. > > But a config based on arch/ia64/configs/zx1_defconfig gets a bunch > of build errors from different files complaining about 'max_mapnr' > > arch/ia64/mm/init.c:198:8: error: 'max_mapnr' undeclared (first use in this function) > ./include/linux/dma-mapping.h:359:6: error: 'max_mapnr' undeclared (first use in this function) > kernel/dma/mapping.c:126:8: error: 'max_mapnr' undeclared (first use in this function) > kernel/dma/mapping.c:181:8: error: 'max_mapnr' undeclared (first use in this function) > mm/internal.h:393:8: error: 'max_mapnr' undeclared (first use in this function) Looks like we somehow lost the indirect mm.h include for those builds, I'll take a look at fixing this up.