Skip to content

Commit

Permalink
um: Convert genirq namespace
Browse files Browse the repository at this point in the history
Scripted with coccinelle.

Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
KAGA-KOKO committed Mar 24, 2011
1 parent 4bdab7e commit 0ebec35
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions arch/um/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int show_interrupts(struct seq_file *p, void *v)
for_each_online_cpu(j)
seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
#endif
seq_printf(p, " %14s", get_irq_desc_chip(desc)->name);
seq_printf(p, " %14s", irq_desc_get_chip(desc)->name);
seq_printf(p, " %s", action->name);

for (action=action->next; action; action = action->next)
Expand Down Expand Up @@ -390,11 +390,10 @@ void __init init_IRQ(void)
{
int i;

set_irq_chip_and_handler(TIMER_IRQ, &SIGVTALRM_irq_type, handle_edge_irq);
irq_set_chip_and_handler(TIMER_IRQ, &SIGVTALRM_irq_type, handle_edge_irq);

for (i = 1; i < NR_IRQS; i++) {
set_irq_chip_and_handler(i, &normal_irq_type, handle_edge_irq);
}
for (i = 1; i < NR_IRQS; i++)
irq_set_chip_and_handler(i, &normal_irq_type, handle_edge_irq);
}

/*
Expand Down

0 comments on commit 0ebec35

Please sign in to comment.