Re: [RFC] killing linux/irq.h

From: Geert Uytterhoeven
Date: Sun Sep 11 2005 - 02:51:53 EST


On Fri, 9 Sep 2005 viro@xxxxxxxxxxxxxxxxxx wrote:
> We get regular portability bugs when somebody decides to include
> linux/irq.h into a driver instead of asm/irq.h. It's almost always a
> wrong thing to do and, in fact, causes immediate breakage on e.g. arm.

Wouldn't it be more logical to make linux/irq.h the preferred include?
Usually the linux/* versions are preferred over the asm/* versions.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/