From e6940c073334b8176d47af8b3aa6ca3de40b18de Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 30 Mar 2024 09:51:05 +0100 Subject: [PATCH] lib/thread.c: Move 'asmlinkage' before type 'void' Change-Id: Ibd35bef4182ea075ef5fa153e2e47678ffce171b Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/81592 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/lib/thread.c | 4 ++-- 1 file 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();