Re: [RFC] disable_irq()/enable_irq() semantics and ide-probe.c

From: Anton Blanchard
Date: Wed Oct 15 2003 - 18:36:58 EST



> > c) mind-boggling amount of code duplication - are there any plans to take
> > that stuff to kernel/*?
>
> Yes. It was actually tried a few months ago, but some of the other
> architectures have very different interrupt setups, so it got dropped. But
> it will almost certainly happen eventually: we've had bugs fixed on x86
> that ended up living a lot longer on other architectures.

>From memory at least x86, alpha, ppc32 and ppc64 worked with Andrey's
irq consolidation patches. I'll be pushing for it in 2.7 together with
some macros to abstract away irq_desc[NR_IRQS] completely. (it will
make it easier to support 24 bit irqs on ppc64 and should allow sparc64
to use the consolidated irq code).

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