sleepqueue: Fix the comment for sleepq_switch()

The comment from mi_switch() applies here.

PR:		279708
Fixes:		686bcb5c14 ("schedlock 4/4")
MFC after:	1 week

(cherry picked from commit 1030ee9128373e7819e5d4a45475ad8cda24fec9)
This commit is contained in:
Mark Johnston 2024-11-12 01:57:24 +00:00
parent 9623b69b1d
commit b9f9be5d92

View file

@ -539,7 +539,8 @@ sleepq_catch_signals(const void *wchan, int pri)
/*
* Switches to another thread if we are still asleep on a sleep queue.
* Returns with thread lock.
*
* The thread lock is required on entry and is no longer held on return.
*/
static void
sleepq_switch(const void *wchan, int pri)