On Mon, 04 Aug 2008 09:31:36 -0700 Daniel Walker <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-08-04 at 13:08 +0200, Sebastien Dugue wrote:
>
> > --- a/arch/powerpc/include/asm/irq.h
> > +++ b/arch/powerpc/include/asm/irq.h
> > @@ -119,6 +119,7 @@ struct irq_host {
> > } linear;
> >
On Mon, 2008-08-04 at 13:08 +0200, Sebastien Dugue wrote:
> --- a/arch/powerpc/include/asm/irq.h
> +++ b/arch/powerpc/include/asm/irq.h
> @@ -119,6 +119,7 @@ struct irq_host {
> } linear;
> struct radix_tree_root tree;
> } revmap_data;
> + spinlock_t
The radix trees used by interrupt controllers for their irq reverse mapping
(currently only the XICS found on pSeries) have a complex locking scheme
dating back to before the advent of the lockless radix tree.
Take advantage of this and of the fact that the items of the tree are
pointers to a