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>
This commit is contained in:
parent
bd5fe989bd
commit
e6940c0733
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user