aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-30 09:51:05 +0100
committerElyes Haouas <ehaouas@noos.fr>2024-04-10 06:05:55 +0000
commite6940c073334b8176d47af8b3aa6ca3de40b18de (patch)
tree8eb96073d387a0949b06967c5b97b5a8480da14a /src
parentbd5fe989bd562b8d103b1e12eb5c68d07ab1fa26 (diff)
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>
Diffstat (limited to 'src')
-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();