diff options
| author | Jake Burkholder <jake@FreeBSD.org> | 2000-12-13 00:17:05 +0000 |
|---|---|---|
| committer | Jake Burkholder <jake@FreeBSD.org> | 2000-12-13 00:17:05 +0000 |
| commit | c0c255709081ed31ff044179c49ca7e8c6abb162 (patch) | |
| tree | 4dfd199ffaa97feec65c14b175f47ccddbeed914 /sys/kern/init_main.c | |
| parent | 1b3335af6a91bd501eacc94ea03d0f3221559b9b (diff) | |
Notes
Diffstat (limited to 'sys/kern/init_main.c')
| -rw-r--r-- | sys/kern/init_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 81cde0db2001..a147eaed516c 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -409,12 +409,12 @@ proc0_post(void *dummy __unused) * Now we can look at the time, having had a chance to verify the * time from the file system. Pretend that proc0 started now. */ - lockmgr(&allproc_lock, LK_SHARED, NULL, CURPROC); + ALLPROC_LOCK(AP_SHARED); LIST_FOREACH(p, &allproc, p_list) { microtime(&p->p_stats->p_start); p->p_runtime = 0; } - lockmgr(&allproc_lock, LK_RELEASE, NULL, CURPROC); + ALLPROC_LOCK(AP_RELEASE); microuptime(&switchtime); PCPU_SET(switchticks, ticks); |
