On Thu, Oct 05, 2006 at 01:19:42PM -0400, Jeff Garzik wrote:
> Matthew Wilcox wrote:
> >In preparation for moving check_signature, change these users from
> >asm/io.h to linux/io.h
> 
> The vast majority of drivers include asm/io.h.

Yes.  linux/io.h was only created recently.  It's proper style to
include linux/foo.h when both linux/foo.h and asm/foo.h exist [1]
This is just a transition which hasn't been completed yet (indeed, has
barely begun).

> Wouldn't it be better to move check_signature to 
> include/asm-generic/io.h, and include that where needed?

I really don't think that proliferating header files unnecessarily is a
good idea.

[1] Except, of course, <linux/irq.h>, but I thought rmk was going to fix
that.
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to