Re: remove sn2, hpsim and ia64 machvecs

From: 'Christoph Hellwig'
Date: Fri Aug 09 2019 - 10:45:37 EST


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.