Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163551
b: refs/heads/master
c: 1279b7f
h: refs/heads/master
i:
  163549: 04c3144
  163547: c0d29b4
  163543: eee1a42
  163535: 13bb6b0
  163519: d169526
v: v3
  • Loading branch information
Paul Mundt committed Aug 31, 2009
1 parent 62ff981 commit 2b00964
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 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: 2f6dafc5fcbf3fddce345c47da1f277a156fe22a
refs/heads/master: 1279b7f1168ad6a2606191090f8a96eba64766a4
13 changes: 12 additions & 1 deletion trunk/drivers/sh/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ void __init register_intc_controller(struct intc_desc *desc)

irq_desc = irq_to_desc_alloc_node(irq, numa_node_id());
if (unlikely(!irq_desc)) {
printk(KERN_INFO "can not get irq_desc for %d\n", irq);
pr_info("can't get irq_desc for %d\n", irq);
continue;
}

Expand All @@ -762,6 +762,17 @@ void __init register_intc_controller(struct intc_desc *desc)
if (vect->enum_id != vect2->enum_id)
continue;

/*
* In the case of multi-evt handling and sparse
* IRQ support, each vector still needs to have
* its own backing irq_desc.
*/
irq_desc = irq_to_desc_alloc_node(irq2, numa_node_id());
if (unlikely(!irq_desc)) {
pr_info("can't get irq_desc for %d\n", irq2);
continue;
}

vect2->enum_id = 0;

/* redirect this interrupts to the first one */
Expand Down

0 comments on commit 2b00964

Please sign in to comment.