Skip to content

Commit

Permalink
Merge branch 'sh/genirq-threading' into sh-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mundt committed May 23, 2011
2 parents 8ace5c4 + ed17092 commit 972b194
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ config SUPERH
select HAVE_REGS_AND_STACK_ACCESS_API
select HAVE_GENERIC_HARDIRQS
select HAVE_SPARSE_IRQ
select IRQ_FORCED_THREADING
select RTC_LIB
select GENERIC_ATOMIC64
select GENERIC_IRQ_SHOW
Expand Down
5 changes: 5 additions & 0 deletions drivers/sh/intc/virq.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,11 @@ static void __init intc_subgroup_map(struct intc_desc_int *d)

irq_set_handler_data(irq, (void *)entry->handle);

/*
* Set the virtual IRQ as non-threadable.
*/
irq_set_nothread(irq);

irq_set_chained_handler(entry->pirq, intc_virq_handler);
add_virq_to_pirq(entry->pirq, irq);

Expand Down

0 comments on commit 972b194

Please sign in to comment.