diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2008-04-24 08:30:09 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-05-08 06:52:00 -0400 |
commit | a276e588a92737889c21e736f2bbed8aecda25fb (patch) | |
tree | 523d1e14fe3dc73d616b15b25c99844ff636bdb6 /include | |
parent | 3d2c2f3ef7c5425d23424326a2345c385bb2d415 (diff) |
sh: unify external irq pin code for sh3
This patch unifies the sh3 external irq pin code. It buys us some
savings with reduced code redundancy, but the main feature with
this change is irq sense selection support for all sh3 processors.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sh/hw_irq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sh/hw_irq.h b/include/asm-sh/hw_irq.h index c958fdaa009..9d7003c0356 100644 --- a/include/asm-sh/hw_irq.h +++ b/include/asm-sh/hw_irq.h | |||
@@ -95,6 +95,9 @@ void __init register_intc_controller(struct intc_desc *desc); | |||
95 | int intc_set_priority(unsigned int irq, unsigned int prio); | 95 | int intc_set_priority(unsigned int irq, unsigned int prio); |
96 | 96 | ||
97 | void __init plat_irq_setup(void); | 97 | void __init plat_irq_setup(void); |
98 | #ifdef CONFIG_CPU_SH3 | ||
99 | void __init plat_irq_setup_sh3(void); | ||
100 | #endif | ||
98 | 101 | ||
99 | enum { IRQ_MODE_IRQ, IRQ_MODE_IRQ7654, IRQ_MODE_IRQ3210, | 102 | enum { IRQ_MODE_IRQ, IRQ_MODE_IRQ7654, IRQ_MODE_IRQ3210, |
100 | IRQ_MODE_IRL7654_MASK, IRQ_MODE_IRL3210_MASK, | 103 | IRQ_MODE_IRL7654_MASK, IRQ_MODE_IRL3210_MASK, |