Re: [PATCH] protect 'action' in show_interrupts

From: Andrew Morton (akpm@digeo.com)
Date: Fri Mar 07 2003 - 17:01:03 EST


Zwane Mwaikambo <zwane@linuxpower.ca> wrote:
>
> On Fri, 7 Mar 2003, Russell King wrote:
>
> > We don't have a per-irq_desc spinlock on ARM - it's a global
> > irq_controller_lock.
> >
> > Thanks.
>
> Ok thanks for spotting that. Andrew here it is rediffed.

Thanks, Zwane. Looks good.

I made some adjustments down in mips land - they weren't initialising the
irq_desc_t locks on startup.

That's pretty academic, but doing spin_lock_irqsave() is as good a way as any
of saying "preempt_disable()", and it keeps all the code looking the same.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 07 2003 - 22:00:39 EST