Re: 2.6.9-rc1-mm1 ppc build broken

From: Joseph Fannin
Date: Sun Sep 05 2004 - 20:46:45 EST


On Sun, Sep 05, 2004 at 02:53:55PM -0700, Andrew Morton wrote:
> jhf@xxxxxxxxxxxxxx (Joseph Fannin) wrote:

> > This is still broken in -mm3. This fix works for my powermac too,
> > except that arch/ppc/syslib/open_pic.c misses errno.h when it does not
> > get it through mm.h. I can't speak for other platforms, but I'll
> > include the patch.
>
> OK, now I have an ordering problem. If I understand you correctly, this
> patch fixes a ppc problem which was introduced by a patch from the bk-ia64
> tree, yes?

Yes.

> If so, my options are to ask Tony to add this patch to the bk-ia64 tree so
> they all go in at the same time, or to merge this patch into Linus's tree
> prior to the ia64 patch. To do the latter, I'd need confirmation that your
> patch is safe against current -linus. Can you please confirm this?

-rc1-bk12 with this patch applied builds and runs okay on my
Powermac, so yes. Thanks!

> +++ 25-akpm/arch/ppc/syslib/open_pic.c 2004-09-05 14:50:54.266081672 -0700
> @@ -16,6 +16,7 @@
> #include <linux/irq.h>
> #include <linux/interrupt.h>
> #include <linux/sysdev.h>
> +#include <linux/errno.h>
> #include <asm/ptrace.h>
> #include <asm/signal.h>
> #include <asm/io.h>
> diff -puN include/asm-ppc/io.h~ppc-build-fix include/asm-ppc/io.h
> +++ 25-akpm/include/asm-ppc/io.h 2004-09-05 14:50:54.276080152 -0700
> @@ -4,7 +4,6 @@
>
> #include <linux/config.h>
> #include <linux/types.h>
> -#include <linux/mm.h>
>
> #include <asm/page.h>
> #include <asm/byteorder.h>

--
Joseph Fannin
jhf@xxxxxxxxxxxxxx

"Bull in pure form is rare; there is usually some contamination by data."
-- William Graves Perry Jr.
-
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/