kern: move load from Mach to Sys

This commit is contained in:
2020-02-17 00:19:03 +01:00
parent 2f850291d5
commit 75b451ea1c
3 changed files with 5 additions and 4 deletions

View File

@ -964,7 +964,7 @@ consread(Chan *c, void *buf, long n, int64_t off)
bp += NUMSIZE;
readnum(0, bp, NUMSIZE, mp->tlbpurge, NUMSIZE);
bp += NUMSIZE;
readnum(0, bp, NUMSIZE, mp->load, NUMSIZE);
readnum(0, bp, NUMSIZE, sys->load, NUMSIZE);
bp += NUMSIZE;
readnum(0, bp, NUMSIZE,
(mp->perf.avg_inidle*100)/mp->perf.period,