Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43488
b: refs/heads/master
c: 6e2ac66
h: refs/heads/master
v: v3
  • Loading branch information
Hidetoshi Seto authored and Linus Torvalds committed Dec 8, 2006
1 parent 449134b commit d2ba910
Show file tree
Hide file tree
Showing 2 changed files with 3 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: aad094701c6355cb2b3d74a07ec0496f4a48c787
refs/heads/master: 6e2ac66470976ad7f57e0948572669b2bdfea2d0
3 changes: 2 additions & 1 deletion trunk/kernel/irq/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ static int irq_affinity_write_proc(struct file *file, const char __user *buffer,
unsigned int irq = (int)(long)data, full_count = count, err;
cpumask_t new_value, tmp;

if (!irq_desc[irq].chip->set_affinity || no_irq_affinity)
if (!irq_desc[irq].chip->set_affinity || no_irq_affinity ||
CHECK_IRQ_PER_CPU(irq_desc[irq].status))
return -EIO;

err = cpumask_parse_user(buffer, count, new_value);
Expand Down

0 comments on commit d2ba910

Please sign in to comment.