Re: remove sn2, hpsim and ia64 machvecs

From: Luck, Tony
Date: Thu Aug 08 2019 - 14:01:33 EST


On Thu, Aug 08, 2019 at 08:51:23AM +0200, 'Christoph Hellwig' wrote:
> On Wed, Aug 07, 2019 at 04:07:37PM -0700, Luck, Tony wrote:
> > On Wed, Aug 07, 2019 at 01:26:17PM -0700, Luck, Tony wrote:
> > > Ugh! The rule to do the compression was in arch/ia64/hp/sim/boot/Makefile
> > > which went away as part of the deletion of hpsim.
> >
> > This fixes it ... should fold into the patch that dropped the
> > arch/ia64/hp/sim/boot/Makefile
> >
> > I just cut/pasted in those cmd_gzip and cmd_objcopy definitions
> > from elsewhere in the tree. It might be possible to simplify them.
>
> Lets keep it simple. I've picked this up for the hpsim removal patch.

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)

-Tony