diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-02-25 11:19:35 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2023-02-27 00:34:18 +0000 |
commit | 22abb3ec33b8a877332e60889768b8d3385d5f92 (patch) | |
tree | 8f74e6d7951e190287db1b5952e3245b7b10b023 /src | |
parent | e10d8a0d52aa116c9bcf952231dd8c4b2cf2820e (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')
-rw-r--r-- | src/cpu/x86/mp_init.c | 2 | ||||
-rw-r--r-- | src/soc/intel/quark/bootblock/bootblock.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/src/soc/intel/quark/bootblock/bootblock.c b/src/soc/intel/quark/bootblock/bootblock.c index 2e1a0992e5..6b73d03bc0 100644 --- a/src/soc/intel/quark/bootblock/bootblock.c +++ b/src/soc/intel/quark/bootblock/bootblock.c @@ -8,7 +8,7 @@ #include <soc/pci_devs.h> #include <soc/reg_access.h> -extern void asmlinkage light_sd_led(void); +extern asmlinkage void light_sd_led(void); static const struct reg_script legacy_gpio_init[] = { /* Temporarily enable the legacy GPIO controller */ |