summaryrefslogtreecommitdiff
path: root/src/include/thread.h
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 15:31:49 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-13 17:19:16 +0100
commit746d4afbedd2ca5c8fff848ac3af66ce27ca9d72 (patch)
treeefb383e202c619ba3c3f7ea6fb433a54c3eec330 /src/include/thread.h
parent6d71a43af5e18229364523bb1f8f62b30ac7cd8c (diff)
src/include: Remove space after function name
Fix the following warning detected by checkpatch.pl: WARNING: space prohibited between function name and open parenthesis '(' TEST=Build and run on Galileo Gen2 Change-Id: I0ac30b32bab895ca72f91720eeae5a5067327247 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18656 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/thread.h b/src/include/thread.h
index 25594a8de4..d2006359d5 100644
--- a/src/include/thread.h
+++ b/src/include/thread.h
@@ -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);
+ asmlinkage void (*thread_entry)(void *), void *arg);
#else
static inline void threads_initialize(void) {}
static inline int thread_run(void (*func)(void *), void *arg) { return -1; }