diff options
author | Greg Ungerer <gerg@uclinux.org> | 2009-05-01 03:23:37 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-09-15 19:43:46 -0400 |
commit | de4cbfb5994465e7c0f4cc545722b1144e8ba717 (patch) | |
tree | 711dddf629815882467d2939c5948f238855157c | |
parent | 0531d7b36b9894b60ba9c0633993d49a813555ff (diff) |
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.c | 25 |
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) | |||
29 | set_irq_regs(oldregs); | 29 | set_irq_regs(oldregs); |
30 | } | 30 | } |
31 | 31 | ||
32 | #if !defined(CONFIG_COLDFIRE) | ||
33 | |||
34 | static struct irq_chip m_irq_chip = { | ||
35 | .name = "M68K-INTC", | ||
36 | .enable = enable_vector, | ||
37 | .disable = disable_vector, | ||
38 | .ack = ack_vector, | ||
39 | }; | ||
40 | |||
41 | void __init init_IRQ(void) | ||
42 | { | ||
43 | int irq; | ||
44 | |||
45 | init_vectors(); | ||
46 | |||
47 | for (irq = 0; (irq < NR_IRQS); irq++) { | ||
48 | irq_desc[irq].status = IRQ_DISABLED; | ||
49 | irq_desc[irq].action = NULL; | ||
50 | irq_desc[irq].depth = 1; | ||
51 | irq_desc[irq].chip = &m_irq_chip; | ||
52 | } | ||
53 | } | ||
54 | |||
55 | #endif | ||
56 | |||
57 | int show_interrupts(struct seq_file *p, void *v) | 32 | int show_interrupts(struct seq_file *p, void *v) |
58 | { | 33 | { |
59 | struct irqaction *ap; | 34 | struct irqaction *ap; |