Re: [RFC: 2.6 patch] #include <asm/irq.h> in interrupt.h

From: Christoph Hellwig
Date: Wed Aug 24 2005 - 04:26:57 EST


On Wed, Aug 24, 2005 at 10:57:50AM +0200, Adrian Bunk wrote:
> If #includ'ing interrupt.h should be enough for getting the prototype of
> e.g. enable_irq() on all architectures, we need this patch.

Per defintion you need to include <asm/irq.h> right now. I'd like to change
that to <linux/interrupt.h>, but not my including <asm/irq.h> there.
We should just make the prototypes in <linux/interrupt.h> unconditional
and get rid of the macro/inline tricks some architectures do, these calls
aren't exactly fastpathes where that matters.

-
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/