[PATCH] IPIC: Don't call set_irq_handler with desc->lock held.

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Oct 24 13:12:49 EST 2006


> This patch gets things working in the spinlock-debugging-enabled case,
> but I'm curious as to where the handler setting is ideally supposed to be
> done.  I don't see any documentation on set_irq_type() that clarifies
> what the semantics are supposed to be.

It's unclear... the common code calls it, I think, when request_irq() is
passed explicit type. When changing the type, some PICs need to change
the handler, some don't. It looks that none of the PICs I've dealt with
have this problem though...

Ben.




More information about the Linuxppc-dev mailing list