commit | e6f077592d1de2f6a4fc760e7b5d6f20b37d3a27 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@opensource.se> | Tue Feb 09 07:17:20 2010 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Feb 09 18:24:31 2010 +0900 |
tree | b8d6e785f2de334321a956d86e42777b71b47ce4 | |
parent | 3844eadcfd2ba975110e3ca8479efa8c093129ce [diff] |
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 <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>