Skip to content

Commit

Permalink
m68knommu: remove the common interrupt controller structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer committed Sep 15, 2009
1 parent 0531d7b commit de4cbfb
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions arch/m68knommu/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit de4cbfb

Please sign in to comment.