Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135690
b: refs/heads/master
c: 2b8f836
h: refs/heads/master
v: v3
  • Loading branch information
Américo Wang authored and Ingo Molnar committed Feb 16, 2009
1 parent 56df80b commit 848da18
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: a0a522ce3d6d8c907e45d4f2730ee8573484cc88
refs/heads/master: 2b8f836fb196acede88b6cc772e9057e0a9c0223
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -5236,7 +5236,7 @@ SYSCALL_DEFINE1(nice, int, increment)
if (increment > 40)
increment = 40;

nice = PRIO_TO_NICE(current->static_prio) + increment;
nice = TASK_NICE(current) + increment;
if (nice < -20)
nice = -20;
if (nice > 19)
Expand Down

0 comments on commit 848da18

Please sign in to comment.