Kernel: unbreak load averages
This commit is contained in:
parent
6c6e1db676
commit
709a739b52
@ -184,7 +184,7 @@ struct timer *tp; /* pointer to timer structure */
|
|||||||
PRIVATE void load_update(void)
|
PRIVATE void load_update(void)
|
||||||
{
|
{
|
||||||
u16_t slot;
|
u16_t slot;
|
||||||
int enqueued = -1, q; /* -1: special compensation for IDLE. */
|
int enqueued = 0, q;
|
||||||
struct proc *p;
|
struct proc *p;
|
||||||
|
|
||||||
/* Load average data is stored as a list of numbers in a circular
|
/* Load average data is stored as a list of numbers in a circular
|
||||||
|
Loading…
x
Reference in New Issue
Block a user