Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 18:41:28 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r331934 - head/sys/compat/linuxkpi/common/src
Message-ID:  <201804031841.w33IfSJ3094695@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Tue Apr  3 18:41:27 2018
New Revision: 331934
URL: https://svnweb.freebsd.org/changeset/base/331934

Log:
  Wrap long lines.
  
  MFC after:	3 days

Modified:
  head/sys/compat/linuxkpi/common/src/linux_schedule.c

Modified: head/sys/compat/linuxkpi/common/src/linux_schedule.c
==============================================================================
--- head/sys/compat/linuxkpi/common/src/linux_schedule.c	Tue Apr  3 18:39:49 2018	(r331933)
+++ head/sys/compat/linuxkpi/common/src/linux_schedule.c	Tue Apr  3 18:41:27 2018	(r331934)
@@ -267,7 +267,8 @@ linux_wait_event_common(wait_queue_head_t *wqh, wait_q
 	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
 			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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804031841.w33IfSJ3094695>