All of lore.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@ftp.linux.org.uk>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>,
	Christoph Hellwig <hch@infradead.org>,
	Ralf Baechle <ralf@linux-mips.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org,
	"James E.J. Bottomley" <James.Bottomley@SteelEye.com>,
	linux-scsi@vger.kernel.org, linux-mips@linux-mips.org
Subject: Re: [patch 3/3] scsi: wd33c93 needs <asm/irq.h>
Date: Mon, 23 Jul 2007 00:34:03 +0100	[thread overview]
Message-ID: <20070722233403.GD21668@ftp.linux.org.uk> (raw)
In-Reply-To: <20070720175050.GI14791@parisc-linux.org>

On Fri, Jul 20, 2007 at 11:50:50AM -0600, Matthew Wilcox wrote:
> On Fri, Jul 20, 2007 at 09:43:47PM +0400, Sergei Shtylyov wrote:
> > Hello Christoph:
> > 
> > >>>+#include <asm/irq.h>
> > 
> > >>These days that should probably be <linux/irq.h>.
> > 
> > >Not at all, linux/irq.h is something entirely different.
> > 
> >    Actually, <linux/interrupt.h>
> 
> Not for enable/disable_irq.  For request_irq, yes.
> 
> This is something that should be fixed.

Now it is...  FWIW, I suspect that absolute majority of asm/irq.h
uses can be removed now.

Next steps in irq.h/interrupt.h cleanups:
	* scouring asm/irq.h like it had been done for sparc32;
the parts that are only used by relevant arch/ code should be
taken there and includes _in_ asm/irq.h trimmed to minimum
	* separating tasklet.h, with interrupt.h still including it.
Using it where needed.
	* asm/softirq.h (with stuff mostly taken there from asm/hardirq.h)
and linux/softirq.h; again interrupt.h still should include it.
	* mechanical adding include of linux/interrupt.h to files that use
request_irq/free_irq/enable_irq/disable_irq/irqreturn_t/IRQF_...
---> in the next merge window:
	* replace include of linux/interrupt.h in netdevice.h with
that of linux/softirq.h.
	* trim uses of linux/interrupt.h that are not needed anymore.

  reply	other threads:[~2007-07-22 23:34 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-20 16:40 [patch 0/3] m68k: -Werror-implicit-function-declaration fallout Geert Uytterhoeven
2007-07-20 16:40 ` [patch 1/3] m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible Geert Uytterhoeven
2007-07-20 16:40   ` Geert Uytterhoeven
2007-07-20 17:47   ` Dmitry Torokhov
2007-07-20 17:47     ` Dmitry Torokhov
2007-07-20 18:35     ` Adrian Bunk
2007-07-20 18:35       ` Adrian Bunk
2007-07-20 18:51       ` Dmitry Torokhov
2007-07-20 18:51         ` Dmitry Torokhov
2007-07-20 19:07         ` Adrian Bunk
2007-07-20 19:07           ` Adrian Bunk
2007-07-20 19:30           ` Dmitry Torokhov
2007-07-20 19:30             ` Dmitry Torokhov
2007-07-21  8:27         ` Geert Uytterhoeven
2007-07-21  8:27           ` Geert Uytterhoeven
2007-07-22  4:22           ` Dmitry Torokhov
2007-07-22  4:22             ` Dmitry Torokhov
2007-07-22 12:51             ` Geert Uytterhoeven
2007-07-22 12:51               ` Geert Uytterhoeven
2007-07-24  0:45               ` Dmitry Torokhov
2007-07-24  0:45                 ` Dmitry Torokhov
2007-07-20 16:40 ` [patch 2/3] netdev: i82596 Ethernet needs <asm/cacheflush.h> Geert Uytterhoeven
2007-07-24 20:37   ` Jeff Garzik
2007-07-20 16:40 ` [patch 3/3] scsi: wd33c93 needs <asm/irq.h> Geert Uytterhoeven
2007-07-20 16:48   ` James Bottomley
2007-07-20 17:05     ` Geert Uytterhoeven
2007-07-20 17:13     ` Adrian Bunk
2007-07-20 17:31   ` Ralf Baechle
2007-07-20 17:33     ` Christoph Hellwig
2007-07-20 17:43       ` Sergei Shtylyov
2007-07-20 17:50         ` Matthew Wilcox
2007-07-22 23:34           ` Al Viro [this message]
2007-07-20 17:46       ` Ralf Baechle
2007-07-20 17:34     ` Matthew Wilcox

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=20070722233403.GD21668@ftp.linux.org.uk \
    --to=viro@ftp.linux.org.uk \
    --cc=James.Bottomley@SteelEye.com \
    --cc=akpm@linux-foundation.org \
    --cc=geert@linux-m68k.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=ralf@linux-mips.org \
    --cc=sshtylyov@ru.mvista.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.