diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-12 00:38:07 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-12 00:38:07 +0000 |
commit | ea435c360f07a030526c6010b4fe997bdbcf925f (patch) | |
tree | d3d55539f9477bac298cf202a70516779877014d /kernel | |
parent | ca2b53c30a3c2dea1d2610319ea0f4913ecae2e4 (diff) |
The condition needs to be reversed.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index 591c5e29d..b94df1dc3 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -577,7 +577,7 @@ static void update_process_times(int user_tick) p->counter = 0; p->need_resched = 1; } - if (p->nice < 0) + if (p->nice > 0) kstat.cpu_nice += user_tick; else kstat.cpu_user += user_tick; |