From: Thomas Gleixner <tglx@linutronix.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Samuel Ortiz <sameo@openedhand.com>,
linux-kernel@vger.kernel.org, Paul Sokolovsky <pmiscml@gmail.com>,
Ben Dooks <ben@trinity.fluff.org>
Subject: Re: [RFC] [PATCH -mm] ASIC3 driver
Date: Fri, 19 Oct 2007 20:17:12 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.0.9999.0710192016190.22770@localhost.localdomain> (raw)
In-Reply-To: <20071019110034.1534bb86.akpm@linux-foundation.org>
On Fri, 19 Oct 2007, Andrew Morton wrote:
> On Fri, 19 Oct 2007 12:53:00 +0200 Samuel Ortiz <sameo@openedhand.com> wrote:
>
> > On Thu, Oct 18, 2007 at 03:05:44PM -0700, Andrew Morton wrote:
> > > On Thu, 18 Oct 2007 11:12:41 +0200
> > > Samuel Ortiz <sameo@openedhand.com> wrote:
> >
> > > > +#include <linux/module.h>
> > > > +#include <linux/version.h>
> > > > +#include <linux/irq.h>
> > >
> > > Please see the large comment at the top of linux/irq.h. I believe this
> > > driver will fial to compile on at least arm.
> > It doesn't build as a module, since we need the irq.h symbols.
> > I changed MFD_ASIC3 to bool. I somehow feel that this is not the cleanest
> > solution, but OTOH I think that dynamically adding IRQs and GPIOs to an
> > embedded board doesn't make much sense.
>
> We seem to have miscommunicated here. <linux/irq.h> contains references to
> things which only some architectures actually implement. I don't know
> which architectures those are, but it includes common ones like x86, so
> it's a real trap. I recall it does not include arm, so your code might
> break on arm.
>
> At least, that's what's _supposed_ to happen: I just compiled and linked
> this driver into an ARM kernel with no problems so now I'm all confused as
> to what the problem was.
>
> Oh well, we'll see...
We obviously never removed the big fat warning, which was valid before
the ARM to generic irq conversion.
tglx
next prev parent reply other threads:[~2007-10-19 18:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 9:12 Samuel Ortiz
2007-10-18 22:05 ` Andrew Morton
2007-10-18 22:15 ` Thomas Gleixner
2007-10-18 23:42 ` Samuel Ortiz
2007-10-19 10:53 ` Samuel Ortiz
2007-10-19 12:02 ` pHilipp Zabel
2007-10-19 18:00 ` Andrew Morton
2007-10-19 18:17 ` Thomas Gleixner [this message]
2007-10-20 11:31 ` Samuel Ortiz
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=alpine.LFD.0.9999.0710192016190.22770@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=akpm@linux-foundation.org \
--cc=ben@trinity.fluff.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmiscml@gmail.com \
--cc=sameo@openedhand.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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
all inboxes | Powered by JetHome®