From: Magnus Damm Date: Tue, 9 Feb 2010 07:17:20 +0000 (+0000) Subject: sh: fix INTC to use set_irq_chained_handler() for redirects X-Git-Tag: v2.6.34-rc1~285^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6f077592d1de2f6a4fc760e7b5d6f20b37d3a27;p=pandora-kernel.git sh: fix INTC to use set_irq_chained_handler() for redirects This patch updates the shared INTC code to use set_irq_chained_handler() for intc_redirect_irq(). With this in place request_irq() on a merged irq which has been redirected will now return -EINVAL instead of 0 together with a crash. This thanks to the protection of the IRQ_NOREQUEST flag set for chained interrupt handlers. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed