Messages in this thread | | | Date | Wed, 04 Nov 2009 08:17:56 -0500 | From | Prarit Bhargava <> | Subject | Re: [PATCH]: use spin_lock_irqsave in try_one_irq() |
| |
Yong Zhang wrote: > From 83ee4c7591aae764f1656bd68f6e95ae112e2e7a Mon Sep 17 00:00:00 2001 > From: Yong Zhang <yong.zhang0@gmail.com> > Date: Wed, 4 Nov 2009 20:52:45 +0800 > Subject: [PATCH] genirq: try_one_irq() should be called with irq disabled > > Prarit report this: >
<snip>
Testing verifies that this patch works.
P.
> Reported-by: Prarit Bhargava <prarit@redhat.com> > Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> > --- > kernel/irq/spurious.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c > index 114e704..bd7273e 100644 > --- a/kernel/irq/spurious.c > +++ b/kernel/irq/spurious.c > @@ -121,7 +121,9 @@ static void poll_all_shared_irqs(void) > if (!(status & IRQ_SPURIOUS_DISABLED)) > continue; > > + local_irq_disable(); > try_one_irq(i, desc); > + local_irq_enable(); > } > } > >
| |