From: Sam Ravnborg <sam@ravnborg•org>
To: Geert Uytterhoeven <geert@linux-m68k•org>
Cc: Stephen Rothwell <sfr@canb•auug.org.au>,
David Miller <davem@davemloft•net>,
linux-next@vger•kernel.org,
Linux Kernel Development <linux-kernel@vger•kernel.org>,
Linux/m68k <linux-m68k@vger•kernel.org>
Subject: Re: linux-next: m68k build failure
Date: Fri, 1 Aug 2008 22:41:57 +0200 [thread overview]
Message-ID: <20080801204157.GA12390@uranus.ravnborg.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0808011551120.30950@anakin>
On Fri, Aug 01, 2008 at 03:52:22PM +0200, Geert Uytterhoeven wrote:
> Hi Stephen,
>
> On Fri, 1 Aug 2008, Stephen Rothwell wrote:
> > On Wed, 30 Jul 2008 10:49:35 +0200 Sam Ravnborg <sam@ravnborg•org> wrote:
> > >
> > > Full list of relevant files:
> > > include/asm-m68k/contregs.h:#include <asm-sparc/contregs.h>
> > > include/asm-m68k/fbio.h:#include <asm-sparc/fbio.h>
> > > include/asm-m68k/idprom.h:#include <asm-sparc/idprom.h>
> >
> > I applied the following patch to today's linux-next.
>
> Thanks!
>
> 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.
Sam
next prev parent reply other threads:[~2008-08-01 20:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-30 7:52 linux-next: m68k build failure Stephen Rothwell
2008-07-30 7:54 ` Stephen Rothwell
2008-07-30 8:02 ` David Miller
2008-07-30 8:49 ` Sam Ravnborg
2008-08-01 5:37 ` Stephen Rothwell
2008-08-01 13:52 ` Geert Uytterhoeven
2008-08-01 20:41 ` Sam Ravnborg [this message]
2008-08-02 4:06 ` Stephen Rothwell
2008-08-03 20:00 ` Geert Uytterhoeven
-- strict thread matches above, loose matches on Subject: below --
2008-08-28 6:50 Stephen Rothwell
2008-08-28 6:59 ` Ingo Molnar
2008-12-09 6:45 Stephen Rothwell
2008-12-09 8:00 ` David Miller
2008-12-09 8:50 ` Stephen Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080801204157.GA12390@uranus.ravnborg.org \
--to=sam@ravnborg$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=geert@linux-m68k$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-m68k@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox