Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298201
b: refs/heads/master
c: f5cb92a
h: refs/heads/master
i:
  298199: d245012
v: v3
  • Loading branch information
Jiang Liu authored and Thomas Gleixner committed Mar 30, 2012
1 parent ca6864f commit 48b8dc3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: 241fc640be783f903e74b6d9c68481c01873f758
refs/heads/master: f5cb92ac82d06cb583c1f66666314c5c0a4d7913
10 changes: 7 additions & 3 deletions trunk/kernel/irq/migration.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,16 @@ void irq_move_masked_irq(struct irq_data *idata)
* masking the irqs.
*/
if (likely(cpumask_any_and(desc->pending_mask, cpu_online_mask)
< nr_cpu_ids))
if (!chip->irq_set_affinity(&desc->irq_data,
desc->pending_mask, false)) {
< nr_cpu_ids)) {
int ret = chip->irq_set_affinity(&desc->irq_data,
desc->pending_mask, false);
switch (ret) {
case IRQ_SET_MASK_OK:
cpumask_copy(desc->irq_data.affinity, desc->pending_mask);
case IRQ_SET_MASK_OK_NOCOPY:
irq_set_thread_affinity(desc);
}
}

cpumask_clear(desc->pending_mask);
}
Expand Down

0 comments on commit 48b8dc3

Please sign in to comment.