From: David van Moolenbroek Date: Sat, 28 Nov 2009 13:16:03 +0000 (+0000) Subject: Kernel: unbreak load averages X-Git-Tag: v3.1.6~191 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/syslog.conf.5.html?a=commitdiff_plain;h=709a739b529f5ea31911e4a7876ff43ba33ccc7a;p=minix.git Kernel: unbreak load averages --- diff --git a/kernel/clock.c b/kernel/clock.c index 053767937..db4be94b3 100644 --- a/kernel/clock.c +++ b/kernel/clock.c @@ -184,7 +184,7 @@ struct timer *tp; /* pointer to timer structure */ PRIVATE void load_update(void) { u16_t slot; - int enqueued = -1, q; /* -1: special compensation for IDLE. */ + int enqueued = 0, q; struct proc *p; /* Load average data is stored as a list of numbers in a circular