summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/kernel
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-04-27 07:38:03 +0200
committerGreg Ungerer <gerg@uclinux.org>2009-09-16 01:43:40 +0200
commit2fba4f0b035f7723073068cf8b3a01ec38f72ed5 (patch)
tree425625ccb967a444250be4f47808be63148f73ad /arch/m68knommu/kernel
parentm68knommu: remove per device interrupt mask setting for ColdFire 520x (diff)
downloadlinux-2fba4f0b035f7723073068cf8b3a01ec38f72ed5.tar.xz
linux-2fba4f0b035f7723073068cf8b3a01ec38f72ed5.zip
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 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",