summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-02-25 11:19:35 +0100
committerFelix Singer <felixsinger@posteo.net>2023-02-27 00:34:18 +0000
commit22abb3ec33b8a877332e60889768b8d3385d5f92 (patch)
tree8f74e6d7951e190287db1b5952e3245b7b10b023 /src/cpu
parente10d8a0d52aa116c9bcf952231dd8c4b2cf2820e (diff)
tree: Move 'asmlinkage' before type 'void'
Move 'asmlinkage' before the function type for consistency. Change-Id: I293590ef917b78c6ed3d151cd0080e42d0f10651 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73259 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/mp_init.c2
1 files changed, 1 insertions, 1 deletions
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;