Re: Interrupts & total mess

Russell King
2004-10-21T07:26:15Z

On Thu, Oct 21, 2004 at 04:05:32PM +1000, Benjamin Herrenschmidt wrote:
> Which is seriously starting to make no sense, especially when you don't
> really know who is including who, with also the strange rule of never
> including linux/irq.h directly from a driver since the arch may not use
> the definitions in there, etc... it's a complete can of worms...
>
> So basically, linux/irq.h should be asm-generic/irq.h right ?

Correct, which is why I recently sent a patch to lkml to remove the
wrongly placed include file - in the hope that someone who cares about
it would fix it as you're suggesting (and that other people can suffer
some of the repeated breakage caused by that misplaced file.)

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core