diff options
author | Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> | 2008-07-03 23:37:12 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:33 -0400 |
commit | 6bdfb22a8e1ffa37ae4ad35b87cb02958d1901e5 (patch) | |
tree | afc8f27f1044be5787fb38d181292dd861f9a1c5 /arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |
parent | f12ae6bc4ad0054386b380dbf90e63617cd5ab92 (diff) |
sh: add interrupt ack code to sh4a
This patch is based on interrupt acknowledge code for external
interrupt sources on sh3 processors and adds on sh4a processors.
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7723.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c index a0470f2f5479..abd1ca03f39f 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |||
@@ -326,8 +326,14 @@ static struct intc_sense_reg sense_registers[] __initdata = { | |||
326 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | 326 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, |
327 | }; | 327 | }; |
328 | 328 | ||
329 | static DECLARE_INTC_DESC(intc_desc, "sh7723", vectors, groups, | 329 | static struct intc_mask_reg ack_registers[] __initdata = { |
330 | mask_registers, prio_registers, sense_registers); | 330 | { 0xa4140024, 0, 8, /* INTREQ00 */ |
331 | { IRQ0, IRQ1, IRQ2, IRQ3, IRQ4, IRQ5, IRQ6, IRQ7 } }, | ||
332 | }; | ||
333 | |||
334 | static DECLARE_INTC_DESC_ACK(intc_desc, "sh7723", vectors, groups, | ||
335 | mask_registers, prio_registers, sense_registers, | ||
336 | ack_registers); | ||
331 | 337 | ||
332 | void __init plat_irq_setup(void) | 338 | void __init plat_irq_setup(void) |
333 | { | 339 | { |