summaryrefslogtreecommitdiff
path: root/src/include/thread.h
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 12:18:53 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:18:42 +0100
commit708fc274b54dfd13fb83edae17cea9ead0a0f2be (patch)
tree12c20ab96d4dedcdb0224d37168d4f893513180b /src/include/thread.h
parentbb4ae07417c9b3be1af500a62514a2d42467cfb0 (diff)
src/include: Indent code using tabs
Fix the following error and warning detected by checkpatch.pl: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line TEST=Build and run on Galileo Gen2 Change-Id: I487771b8f4d7e104457116b772cd32df5cd721a6 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18646 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/thread.h')
-rw-r--r--src/include/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/thread.h b/src/include/thread.h
index 681ccdd9c7..25594a8de4 100644
--- a/src/include/thread.h
+++ b/src/include/thread.h
@@ -47,7 +47,7 @@ int thread_run(void (*func)(void *), void *arg);
* transitions from occurring in the (state, seq) pair of the boot state
* machine. */
int thread_run_until(void (*func)(void *), void *arg,
- boot_state_t state, boot_state_sequence_t seq);
+ boot_state_t state, boot_state_sequence_t seq);
/* Return 0 on successful yield for the given amount of time, < 0 when thread
* did not yield. */
int thread_yield_microseconds(unsigned int microsecs);
@@ -70,7 +70,7 @@ void asmlinkage switch_to_thread(uintptr_t new_stack, uintptr_t *saved_stack);
* will enter the thread_entry() function with arg as a parameter. The
* saved_stack field in the struct thread needs to be updated accordingly. */
void arch_prepare_thread(struct thread *t,
- void asmlinkage (*thread_entry)(void *), void *arg);
+ void asmlinkage (*thread_entry)(void *), void *arg);
#else
static inline void threads_initialize(void) {}
static inline int thread_run(void (*func)(void *), void *arg) { return -1; }