[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0808032200190.23329@anakin>
Date: Sun, 3 Aug 2008 22:00:55 +0200 (CEST)
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
cc: Sam Ravnborg <sam@...nborg.org>,
David Miller <davem@...emloft.net>, linux-next@...r.kernel.org,
Linux Kernel Development <linux-kernel@...r.kernel.org>,
Linux/m68k <linux-m68k@...r.kernel.org>
Subject: Re: linux-next: m68k build failure
On Sat, 2 Aug 2008, Stephen Rothwell wrote:
> On Fri, 1 Aug 2008 22:41:57 +0200 Sam Ravnborg <sam@...nborg.org> wrote:
> > On Fri, Aug 01, 2008 at 03:52:22PM +0200, Geert Uytterhoeven wrote:
> > > BTW, is there a (good) way to have this without duplicating those header files?
> >
> > The only solution I can come up with right now is:
> >
> > Makefile:
> > ccflags-y += -Iarch/sparc/include
> >
> > foo.c:
> > #include <asm/fbio.h>
> >
> > Disadvantage is that we loose the explicit documentation that this
> > is header files from another architecture.
> > So we should at least add a comment saying this.
> >
> > And the above would not work if the file has same filename,
> > but then that is not a likely situation either.
>
> There is at least one of the m68k header files that includes the sparc
> file of the same name and then does other stuff. So this scheme would
> not cover that (unless we used #include_next?)
OK, so I'll take Stephen's patch (thanks!) and send it to Linus.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists