Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19356
b: refs/heads/master
c: 2f7016d
h: refs/heads/master
v: v3
  • Loading branch information
Jack Steiner authored and Linus Torvalds committed Feb 1, 2006
1 parent eb9fd47 commit 1c16bce
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0f07496144c270f10d0ad06b70b9c9387d5527fd
refs/heads/master: 2f7016d917faef8f1e016b4a7bd7f594694480b6
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -4031,7 +4031,7 @@ long sched_getaffinity(pid_t pid, cpumask_t *mask)
goto out_unlock;

retval = 0;
cpus_and(*mask, p->cpus_allowed, cpu_possible_map);
cpus_and(*mask, p->cpus_allowed, cpu_online_map);

out_unlock:
read_unlock(&tasklist_lock);
Expand Down

0 comments on commit 1c16bce

Please sign in to comment.