Skip to content

Commit

Permalink
cris: Use generic irq Kconfig
Browse files Browse the repository at this point in the history
Use the generic irq Kconfig. Select GENERIC_HARDIRQS_NO_DEPRECATED as
we have converted all irq_chip functions. Fix the fallout in
show_interrupts().

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Mikael Starvik <starvik@axis.com>
  • Loading branch information
Thomas Gleixner committed Jan 21, 2011
1 parent 9af7503 commit 3013978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions arch/cris/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ config CRIS
bool
default y
select HAVE_IDE
select HAVE_GENERIC_HARDIRQS
select GENERIC_HARDIRQS_NO_DEPRECATED

config HZ
int
Expand All @@ -67,10 +69,6 @@ menu "General setup"

source "fs/Kconfig.binfmt"

config GENERIC_HARDIRQS
bool
default y

config ETRAX_CMDLINE
string "Kernel command line"
default "root=/dev/mtdblock3"
Expand Down
2 changes: 1 addition & 1 deletion arch/cris/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,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", irq_desc[i].chip->name);
seq_printf(p, " %14s", irq_desc[i].irq_data.chip->name);
seq_printf(p, " %s", action->name);

for (action=action->next; action; action = action->next)
Expand Down

0 comments on commit 3013978

Please sign in to comment.