Re: 2.6.11: spinlock problem

From: Chuck Ebbert
Date: Sat Jun 24 2006 - 06:29:11 EST


In-Reply-To: <200606240247.k5O2lU3C009083@xxxxxxxxxxxxxxxxxxxxxxxxxx>

On Sat, 24 Jun 2006 12:47:30 +1000, Darren Reed wrote:

> The call stack for the panic is:
> panic
> ipf_read_enter
> ..
> do_softirq
> =====
> do_IRQ
> common_interrupt
> ipf_rw_exit

If you are using spinlocks fron interrupt context you need to use
spin_lock_irq/spin_lock_irqsave / spin_unlock_irq/spin_unlock_irqrestore.

--
Chuck
"You can't read a newspaper if you can't read." --George W. Bush
-
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/