summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/kernel
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-04-27 15:09:29 +1000
committerGreg Ungerer <gerg@uclinux.org>2009-09-16 09:43:39 +1000
commitcd3dd4068db5e1258a14b63e0feaf0332640d896 (patch)
tree07b28dab223d4a19eedb517d2792aba7753ecb0b /arch/m68knommu/kernel
parent584320156b7e42e74105ca78bdf895d2b0269251 (diff)
downloadop-kernel-dev-cd3dd4068db5e1258a14b63e0feaf0332640d896.zip
op-kernel-dev-cd3dd4068db5e1258a14b63e0feaf0332640d896.tar.gz
m68knommu: use general interrupt controller for ColdFire 520x family
Create general interrupt controller code for the ColdFire 520x family, that 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. Within the ColdFire family there is a variety of different interrupt controllers in use. Some are used on multiple parts, some on only one. There is quite some differences in some varients, so much so that common code for all ColdFire parts would be impossible. This commit introduces code to support one of the newer interrupt controllers in the ColdFire 5208 and 5207 parts. It has very simple mask and unmask operations, so is one of the easiest to support. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/kernel')
-rw-r--r--arch/m68knommu/kernel/irq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/irq.c b/arch/m68knommu/kernel/irq.c
index 9e0c100..47f6af5 100644
--- a/arch/m68knommu/kernel/irq.c
+++ b/arch/m68knommu/kernel/irq.c
@@ -29,6 +29,8 @@ asmlinkage void do_IRQ(int irq, struct pt_regs *regs)
set_irq_regs(oldregs);
}
+#if !defined(CONFIG_M520x)
+
static struct irq_chip m_irq_chip = {
.name = "M68K-INTC",
.enable = enable_vector,
@@ -50,6 +52,8 @@ void __init init_IRQ(void)
}
}
+#endif
+
int show_interrupts(struct seq_file *p, void *v)
{
struct irqaction *ap;
OpenPOWER on IntegriCloud