Kernel: unbreak load averages

This commit is contained in:
David van Moolenbroek 2009-11-28 13:16:03 +00:00
parent 6c6e1db676
commit 709a739b52

View File

@ -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