1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00

Wrap long lines.

MFC after:	3 days
This commit is contained in:
Mark Johnston 2018-04-03 18:41:27 +00:00
parent 3da25bdb02
commit 2a1067a9f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331934

View File

@ -267,7 +267,8 @@ linux_wait_event_common(wait_queue_head_t *wqh, wait_queue_t *wq, int timeout,
PHOLD(task->task_thread->td_proc);
sleepq_lock(task);
if (atomic_read(&task->state) != TASK_WAKING) {
ret = linux_add_to_sleepqueue(task, task, "wevent", timeout, state);
ret = linux_add_to_sleepqueue(task, task, "wevent", timeout,
state);
} else {
sleepq_release(task);
ret = 0;
@ -300,7 +301,8 @@ linux_schedule_timeout(int timeout)
sleepq_lock(task);
state = atomic_read(&task->state);
if (state != TASK_WAKING) {
ret = linux_add_to_sleepqueue(task, task, "sched", timeout, state);
ret = linux_add_to_sleepqueue(task, task, "sched", timeout,
state);
} else {
sleepq_release(task);
ret = 0;
@ -368,7 +370,8 @@ linux_wait_on_bit_timeout(unsigned long *word, int bit, unsigned int state,
break;
}
set_task_state(task, state);
ret = linux_add_to_sleepqueue(wchan, task, "wbit", timeout, state);
ret = linux_add_to_sleepqueue(wchan, task, "wbit", timeout,
state);
if (ret != 0)
break;
}