Re: [PATCH 1/3] netpoll api

From: Russell King
Date: Wed Sep 10 2003 - 03:51:11 EST


On Wed, Sep 10, 2003 at 06:39:35PM +1000, Anton Blanchard wrote:
> > Hmmm, linux/irq.h seemed pretty generic. Maybe those other, silly
> > arches can mend their ways?

No chance. linux/irq.h describes one implementation which is suitable
for some archtectures. However, there are cases where it just doesn't
fit the requirements, and architectures are then free to implement
whatever they want.

linux/irq.h is a badly placed header file - it should have been placed
in asm-generic. It was never intended to be included by .c files, only
by asm-*/irq.h.

--
Russell King (rmk@xxxxxxxxxxxxxxxx) http://www.arm.linux.org.uk/personal/
Linux kernel maintainer of:
2.6 ARM Linux - http://www.arm.linux.org.uk/
2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/