Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234741
b: refs/heads/master
c: fae581e
h: refs/heads/master
i:
  234739: 0a71c16
v: v3
  • Loading branch information
Thomas Gleixner committed Feb 19, 2011
1 parent 0ca616e commit 4ef73d7
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 8f53f92404bead2ab2154d45c8f508880bb5d95d
refs/heads/master: fae581e588e64a0690f3fc995e404fcacaebe772
4 changes: 2 additions & 2 deletions trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ int irq_can_set_affinity(unsigned int irq)
{
struct irq_desc *desc = irq_to_desc(irq);

if (CHECK_IRQ_PER_CPU(desc->status) || !desc->irq_data.chip ||
!desc->irq_data.chip->irq_set_affinity)
if ((desc->status & (IRQ_PER_CPU | IRQ_NO_BALANCING)) ||
!desc->irq_data.chip || !desc->irq_data.chip->irq_set_affinity)
return 0;

return 1;
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/irq/migration.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ void move_masked_irq(int irq)
/*
* Paranoia: cpu-local interrupts shouldn't be calling in here anyway.
*/
if (CHECK_IRQ_PER_CPU(desc->status)) {
if (desc->status & (IRQ_PER_CPU | IRQ_NO_BALANCING)) {
WARN_ON(1);
return;
}
Expand Down

0 comments on commit 4ef73d7

Please sign in to comment.