Elyes Haouas has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81592?usp=email )
Change subject: lib/thread.c: Move 'asmlinkage' before type 'void' ......................................................................
lib/thread.c: Move 'asmlinkage' before type 'void'
Change-Id: Ibd35bef4182ea075ef5fa153e2e47678ffce171b Signed-off-by: Elyes Haouas ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/81592 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Eric Lai ericllai@google.com --- M src/lib/thread.c 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Eric Lai: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/lib/thread.c b/src/lib/thread.c index a0d4311..944c75e 100644 --- a/src/lib/thread.c +++ b/src/lib/thread.c @@ -143,7 +143,7 @@ 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 @@ };
/* 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();