summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-05-01 17:23:37 +1000
committerGreg Ungerer <gerg@uclinux.org>2009-09-16 09:43:46 +1000
commitde4cbfb5994465e7c0f4cc545722b1144e8ba717 (patch)
tree711dddf629815882467d2939c5948f238855157c
parent0531d7b36b9894b60ba9c0633993d49a813555ff (diff)
downloadlinux-de4cbfb5994465e7c0f4cc545722b1144e8ba717.tar.bz2
m68knommu: remove the common interrupt controller structure
Each different m68knommu CPU interrupt controller type has its own interrupt controller data structures now. Remove the old, and now not used, common irq structs and init code from here. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
-rw-r--r--arch/m68knommu/kernel/irq.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/m68knommu/kernel/irq.c b/arch/m68knommu/kernel/irq.c
index 73daaf0a4552..c9cac36d4422 100644
--- a/arch/m68knommu/kernel/irq.c
+++ b/arch/m68knommu/kernel/irq.c
@@ -29,31 +29,6 @@ asmlinkage void do_IRQ(int irq, struct pt_regs *regs)
set_irq_regs(oldregs);
}
-#if !defined(CONFIG_COLDFIRE)
-
-static struct irq_chip m_irq_chip = {
- .name = "M68K-INTC",
- .enable = enable_vector,
- .disable = disable_vector,
- .ack = ack_vector,
-};
-
-void __init init_IRQ(void)
-{
- int irq;
-
- init_vectors();
-
- for (irq = 0; (irq < NR_IRQS); irq++) {
- irq_desc[irq].status = IRQ_DISABLED;
- irq_desc[irq].action = NULL;
- irq_desc[irq].depth = 1;
- irq_desc[irq].chip = &m_irq_chip;
- }
-}
-
-#endif
-
int show_interrupts(struct seq_file *p, void *v)
{
struct irqaction *ap;