diff options
author | Greg Ungerer <gerg@uclinux.org> | 2009-04-28 22:07:13 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-09-15 19:43:42 -0400 |
commit | 277c5e3e26cac45010f57a581c56476639b2cfa0 (patch) | |
tree | fbc4465582bba19a2045eb72c870cde044a5f558 /arch/m68knommu/kernel | |
parent | 1f946533bb562f5144752ea583cac45e9410fdaa (diff) |
m68knommu: general interrupt controller for ColdFire 532x parts
The ColdFire 532x family of parts uses 2 of the same INTC interrupt
controlers used in the ColdFire 520x family. So modify the code to
support both parts. The extra code for the second INTC controler in
the case of the 520x is easily optimized away to nothing.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/kernel')
-rw-r--r-- | arch/m68knommu/kernel/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68knommu/kernel/irq.c b/arch/m68knommu/kernel/irq.c index f9965d7ee7c5..93d567bbf33d 100644 --- a/arch/m68knommu/kernel/irq.c +++ b/arch/m68knommu/kernel/irq.c | |||
@@ -30,7 +30,8 @@ asmlinkage void do_IRQ(int irq, struct pt_regs *regs) | |||
30 | } | 30 | } |
31 | 31 | ||
32 | #if !defined(CONFIG_M520x) && !defined(CONFIG_M523x) && \ | 32 | #if !defined(CONFIG_M520x) && !defined(CONFIG_M523x) && \ |
33 | !defined(CONFIG_M527x) && !defined(CONFIG_M528x) | 33 | !defined(CONFIG_M527x) && !defined(CONFIG_M528x) && \ |
34 | !defined(CONFIG_M532x) | ||
34 | 35 | ||
35 | static struct irq_chip m_irq_chip = { | 36 | static struct irq_chip m_irq_chip = { |
36 | .name = "M68K-INTC", | 37 | .name = "M68K-INTC", |