lkml.org 
[lkml]   [2000]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectCompile-Problems on v2.4.0-test3
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.028 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site