diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2001-01-28 03:41:01 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2001-01-28 03:41:01 +0000 |
commit | 4f534409b335d30a310d938fc3fef458a51b57a5 (patch) | |
tree | 81c4004d805e0b17641ad8b1d3dc37f2a8d90d89 /sys/kern/genassym.sh | |
parent | 55837ed17a3a2de16bb80beea9044a80a8306d29 (diff) | |
download | FreeBSD-src-4f534409b335d30a310d938fc3fef458a51b57a5.zip FreeBSD-src-4f534409b335d30a310d938fc3fef458a51b57a5.tar.gz |
Move the setting of curproc to idleproc up earlier in ap_init(). The
problem is that a mutex lock, prior to this change, is acquired before
the curproc is set to idleproc, so we mess ourselves up by calling
the mutex lock routine with curproc == NULL.
Moving it up after the aps_ready spin-wait has us hopefully setting it
after idleproc is setup.
Solved by: jake (the allmighty) :-)
Diffstat (limited to 'sys/kern/genassym.sh')
0 files changed, 0 insertions, 0 deletions