Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30388
b: refs/heads/master
c: b78709c
h: refs/heads/master
v: v3
  • Loading branch information
Peter Williams authored and Linus Torvalds committed Jun 26, 2006
1 parent 662b970 commit 62dcde1
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: 2139a7fbf3effd8cad505871e3a3c308780ada32
refs/heads/master: b78709cfd4387c15a9894748bcada8a4ca75c561
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -4247,7 +4247,7 @@ long sys_sched_rr_get_interval(pid_t pid, struct timespec __user *interval)
if (retval)
goto out_unlock;

jiffies_to_timespec(p->policy & SCHED_FIFO ?
jiffies_to_timespec(p->policy == SCHED_FIFO ?
0 : task_timeslice(p), &t);
read_unlock(&tasklist_lock);
retval = copy_to_user(interval, &t, sizeof(t)) ? -EFAULT : 0;
Expand Down

0 comments on commit 62dcde1

Please sign in to comment.