summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/x86/mp_init.c2
-rw-r--r--src/soc/intel/quark/bootblock/bootblock.c2
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 */