summaryrefslogtreecommitdiff
path: root/src/lib/thread.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-10 15:23:24 -0800
committerMartin Roth <martinroth@google.com>2017-03-13 17:21:02 +0100
commit7340217262759c3daab41466138ba7d40a8f13d5 (patch)
treeded1fda647d4d9415f061ae5ac15ee4c685c7d48 /src/lib/thread.c
parentb1260553be842dd82b0b022dd40a22527d3e3659 (diff)
src/lib: Wrap lines at 80 columns
Fix the following warning detected by checkpatch.pl: WARNING: line over 80 characters TEST=Build and run on Galileo Gen2 Change-Id: I5fa3f8e950e2f0c60bd0e8f030342dc8c0469299 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18758 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/lib/thread.c')
-rw-r--r--src/lib/thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/thread.c b/src/lib/thread.c
index 30dd5e5219..57a0f8c185 100644
--- a/src/lib/thread.c
+++ b/src/lib/thread.c
@@ -226,7 +226,8 @@ static void idle_thread_init(void)
/* Don't inline this function so the timeout_callback won't have its storage
* space on the stack cleaned up before the call to schedule(). */
static int __attribute__((noinline))
-thread_yield_timed_callback(struct timeout_callback *tocb, unsigned int microsecs)
+thread_yield_timed_callback(struct timeout_callback *tocb,
+ unsigned int microsecs)
{
tocb->priv = current_thread();
tocb->callback = thread_resume_from_timeout;