diff options
author | Greg Ungerer | 2009-04-27 15:38:03 +1000 |
---|---|---|
committer | Greg Ungerer | 2009-09-16 09:43:40 +1000 |
commit | 2fba4f0b035f7723073068cf8b3a01ec38f72ed5 (patch) | |
tree | 425625ccb967a444250be4f47808be63148f73ad /arch/m68knommu/kernel/irq.c | |
parent | d0d77c26cb6195e881325befc950cc54732ba261 (diff) |
m68knommu: general interrupt controller for ColdFire many 52xx parts
Create general interrupt controller code for the many ColdFire version 2
cores that use the two region INTC interrupt controller. This includes the
523x family, 5270, 5271, 5274, 5275, and the 528x families.
This code does proper masking and unmasking of interrupts. With this in
place some of the driver hacks in place to support ColdFire interrupts
can finally go away.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/kernel/irq.c')
-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 47f6af57e18e..f9965d7ee7c5 100644 --- a/arch/m68knommu/kernel/irq.c +++ b/arch/m68knommu/kernel/irq.c @@ -29,7 +29,8 @@ asmlinkage void do_IRQ(int irq, struct pt_regs *regs) set_irq_regs(oldregs); } -#if !defined(CONFIG_M520x) +#if !defined(CONFIG_M520x) && !defined(CONFIG_M523x) && \ + !defined(CONFIG_M527x) && !defined(CONFIG_M528x) static struct irq_chip m_irq_chip = { .name = "M68K-INTC", |