Skip to content

Commit

Permalink
h8300: Use generic irq Kconfig
Browse files Browse the repository at this point in the history
Switch to the generic irq Kconfig. h8300 has all irq chips converted
to the new functions, so select the GENERIC_HARDIRQS_NO_DEPRECATED
switch as well. Fixup the resulting fallout in show_interrupts().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Thomas Gleixner committed Jan 21, 2011
1 parent f9f91ef commit 51f3f15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions arch/h8300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ config H8300
bool
default y
select HAVE_IDE
select HAVE_GENERIC_HARDIRQS
select GENERIC_HARDIRQS_NO_DEPRECATED

config SYMBOL_PREFIX
string
Expand Down Expand Up @@ -47,10 +49,6 @@ config GENERIC_HWEIGHT
bool
default y

config GENERIC_HARDIRQS
bool
default y

config GENERIC_CALIBRATE_DELAY
bool
default y
Expand Down
2 changes: 1 addition & 1 deletion arch/h8300/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ int show_interrupts(struct seq_file *p, void *v)
goto unlock;
seq_printf(p, "%3d: ",i);
seq_printf(p, "%10u ", kstat_irqs(i));
seq_printf(p, " %14s", irq_desc[i].chip->name);
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);

Expand Down

0 comments on commit 51f3f15

Please sign in to comment.