usched_dummy: just proceed if the current thread is trying to acquire curproc
commit6e3e0fe13f9c340c638528b4b92a997b61500580
authorSimon Schubert <simon.schubert@epfl.ch>
Wed, 1 Apr 2009 09:26:51 +0000 (1 11:26 +0200)
committerSimon Schubert <simon.schubert@epfl.ch>
Wed, 1 Apr 2009 09:34:19 +0000 (1 11:34 +0200)
tree4077c58e8e40367a19539a2d4a02cd489e0d3faf
parentb364b899bb17fcc1e96d66ae6b8c0bd1b60cd4ab
usched_dummy:  just proceed if the current thread is trying to acquire curproc

If the current thread is exiting to userland and there is no
rescheduling required, uschedcp will be lp, not NULL, so accept this
situation as well.
sys/kern/usched_dummy.c