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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/thread.c b/src/lib/thread.c
index a0d43118a8..944c75e19c 100644
--- a/src/lib/thread.c
+++ b/src/lib/thread.c
@@ -143,7 +143,7 @@ static void terminate_thread(struct thread *t, enum cb_err error)
schedule(NULL);
}
-static void asmlinkage call_wrapper(void *unused)
+static asmlinkage void call_wrapper(void *unused)
{
struct thread *current = current_thread();
enum cb_err error;
@@ -159,7 +159,7 @@ struct block_boot_state {
};
/* Block the provided state until thread is complete. */
-static void asmlinkage call_wrapper_block_state(void *arg)
+static asmlinkage void call_wrapper_block_state(void *arg)
{
struct block_boot_state *bbs = arg;
struct thread *current = current_thread();