From 22abb3ec33b8a877332e60889768b8d3385d5f92 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 25 Feb 2023 11:19:35 +0100 Subject: tree: Move 'asmlinkage' before type 'void' Move 'asmlinkage' before the function type for consistency. Change-Id: I293590ef917b78c6ed3d151cd0080e42d0f10651 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/73259 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/cpu/x86/mp_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/x86') diff --git a/src/cpu/x86/mp_init.c b/src/cpu/x86/mp_init.c index 507da7d1be..8c48f906e4 100644 --- a/src/cpu/x86/mp_init.c +++ b/src/cpu/x86/mp_init.c @@ -700,7 +700,7 @@ static void smm_enable(void) * means that ENV_SMM is 0, but we are actually executing in the environment * setup by the smm_stub. */ -static void asmlinkage smm_do_relocation(void *arg) +static asmlinkage void smm_do_relocation(void *arg) { const struct smm_module_params *p; int cpu; -- cgit v1.2.3