Re: linux-next: build failure after merge of the final tree

From: David Miller
Date: Mon Jul 18 2011 - 14:00:35 EST


From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Mon, 18 Jul 2011 19:30:53 +1000

> After merging the final tree, today's linux-next build (sparc64 defconfig)
> failed like this:
>
> In file included from arch/sparc/include/asm/pgtable.h:4:0,
> from include/linux/mm.h:41,
> from include/linux/fs.h:395,
> from include/linux/compat.h:15,
> from arch/sparc/include/asm/siginfo.h:19,
> from include/linux/signal.h:5,
> from include/linux/sched.h:73,
> from arch/sparc/kernel/asm-offsets.c:13:
> arch/sparc/include/asm/pgtable_64.h: In function '__set_pte_at':
> arch/sparc/include/asm/pgtable_64.h:674:6: error: 'init_mm' undeclared (first use in this function)
>
> I assume some include file changes. Anyone have any clues how to find
> this?

The great irony is that sparc64 doesn't use anything this file
generates (you won't find a single asm-offsets.h include in any
sparc64 code).

This asm-offset mechanim is, for whatever reason, enabled on every
single architecture whether it's needed or not. Maybe we should
rethink that.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/