Hello!
Here's a patch that fixes a small compile-problem on kernel 2.4.0-test3:
diff -u --recursive --new-file v2.4.0-test3/kernel/timer.c v2.4.0-test3/kernel/timer.c
--- v2.4.0-test3/kernel/timer.c Mon Jul 10 23:35:19 2000
+++ v2.4.0-test3/kernel/timer.c Tue Jul 11 11:16:01 2000
@@ -577,7 +577,7 @@
p->counter = 0;
p->need_resched = 1;
}
- if (p->priority < DEF_PRIORITY)
+ if (p->nice > 0)
kstat.cpu_nice += user_tick;
else
kstat.cpu_user += user_tick;
Andi
-- andreas.roedl@innominate.de innominate AG networking people phone: +49.30.308806-44 fax: -77 web: http://innominate.de- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:12 EST