Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242539
b: refs/heads/master
c: 9f7b218
h: refs/heads/master
i:
  242537: e261986
  242535: 5b8297c
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 24, 2011
1 parent efac371 commit 5002cb3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b04690a358ea44c35ad7e3af08ae4544d2175f3
refs/heads/master: 9f7b21871355d00ea0aa4dc84e44f81d90a53f55
1 change: 1 addition & 0 deletions trunk/arch/h8300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ config H8300
select HAVE_IDE
select HAVE_GENERIC_HARDIRQS
select GENERIC_HARDIRQS_NO_DEPRECATED
select GENERIC_IRQ_SHOW

config SYMBOL_PREFIX
string
Expand Down
31 changes: 0 additions & 31 deletions trunk/arch/h8300/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,34 +164,3 @@ asmlinkage void do_IRQ(int irq)
generic_handle_irq(irq);
irq_exit();
}

#if defined(CONFIG_PROC_FS)
int show_interrupts(struct seq_file *p, void *v)
{
int i = *(loff_t *) v;
struct irqaction * action;
unsigned long flags;

if (i == 0)
seq_puts(p, " CPU0");

if (i < NR_IRQS) {
raw_spin_lock_irqsave(&irq_desc[i].lock, flags);
action = irq_desc[i].action;
if (!action)
goto unlock;
seq_printf(p, "%3d: ",i);
seq_printf(p, "%10u ", kstat_irqs(i));
seq_printf(p, " %14s", irq_desc[i].irq_data.chip->name);
seq_printf(p, "-%-8s", irq_desc[i].name);
seq_printf(p, " %s", action->name);

for (action=action->next; action; action = action->next)
seq_printf(p, ", %s", action->name);
seq_putc(p, '\n');
unlock:
raw_spin_unlock_irqrestore(&irq_desc[i].lock, flags);
}
return 0;
}
#endif

0 comments on commit 5002cb3

Please sign in to comment.