Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29049
b: refs/heads/master
c: 89d0cf0
h: refs/heads/master
i:
  29047: f10177b
v: v3
  • Loading branch information
Daniel Walker authored and Linus Torvalds committed Jun 23, 2006
1 parent 0f1999c commit e1928bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: d20d04bc9befbd752092b4aa42bb8254a1af0776
refs/heads/master: 89d0cf01c0aa9e8241cc3703a359ecd6abf3c28a
4 changes: 2 additions & 2 deletions trunk/kernel/irq/migration.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void move_native_irq(int irq)

desc->move_irq = 0;

if (likely(cpus_empty(pending_irq_cpumask[irq])))
if (unlikely(cpus_empty(pending_irq_cpumask[irq])))
return;

if (!desc->handler->set_affinity)
Expand All @@ -49,7 +49,7 @@ void move_native_irq(int irq)
* cause some ioapics to mal-function.
* Being paranoid i guess!
*/
if (unlikely(!cpus_empty(tmp))) {
if (likely(!cpus_empty(tmp))) {
if (likely(!(desc->status & IRQ_DISABLED)))
desc->handler->disable(irq);

Expand Down

0 comments on commit e1928bf

Please sign in to comment.