summaryrefslogtreecommitdiff
path: root/arch/m68knommu/kernel
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-04-27 05:38:03 (GMT)
committerGreg Ungerer <gerg@uclinux.org>2009-09-15 23:43:40 (GMT)
commit2fba4f0b035f7723073068cf8b3a01ec38f72ed5 (patch)
tree425625ccb967a444250be4f47808be63148f73ad /arch/m68knommu/kernel
parentd0d77c26cb6195e881325befc950cc54732ba261 (diff)
downloadlinux-fsl-qoriq-2fba4f0b035f7723073068cf8b3a01ec38f72ed5.tar.xz
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')
-rw-r--r--arch/m68knommu/kernel/irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68knommu/kernel/irq.c b/arch/m68knommu/kernel/irq.c
index 47f6af5..f9965d7 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",