summaryrefslogtreecommitdiff
path: root/src/lib/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/thread.c')
-rw-r--r--src/lib/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/thread.c b/src/lib/thread.c
index 9387b037dd..53ffb92c59 100644
--- a/src/lib/thread.c
+++ b/src/lib/thread.c
@@ -186,7 +186,7 @@ static void asmlinkage call_wrapper_block_state(void *arg)
/* Prepare a thread so that it starts by executing thread_entry(thread_arg).
* Within thread_entry() it will call func(arg). */
static void prepare_thread(struct thread *t, void *func, void *arg,
- void asmlinkage (*thread_entry)(void *),
+ asmlinkage void(*thread_entry)(void *),
void *thread_arg)
{
/* Stash the function and argument to run. */