From: David Brownell Date: Wed, 24 Jan 2007 04:21:36 +0000 (-0800) Subject: [AVR32] ext int fixes X-Git-Tag: v2.6.21-rc1~83^2~63^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58febc0b1374de7506277d3aa9e9cddaea62ba65;p=pandora-kernel.git [AVR32] ext int fixes Bugfixes for external irq handler set_irq_type(): - If set_irq_type() can't set the type, don't change anything! - It's not OK to change the flow handler as part of set_irq_type(), among other issues that violates spinlock rules. Instead, we can call the relevant handler when we demux the external interrupts. - The external irq demux has no need to grab the spinlock. And in fact grabbing it that way was wrong, since that code might be pre-empted by an irq at a different priority level, and that code might then have tried to grab that spinlock... Signed-off-by: David Brownell Signed-off-by: Haavard Skinnemoen --- Reading git-diff-tree failed