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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux