diff options
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/common/block/pi/def_callouts.c | 6 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/finalize.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/amd/common/block/pi/def_callouts.c b/src/soc/amd/common/block/pi/def_callouts.c index fc3a88b949..0afa82517d 100644 --- a/src/soc/amd/common/block/pi/def_callouts.c +++ b/src/soc/amd/common/block/pi/def_callouts.c @@ -192,7 +192,7 @@ static struct agesa_data { * BSP deploys APs to callout_ap_entry(), which calls * agesawrapper_amdlaterunaptask with the agesadata. */ -static void callout_ap_entry(void) +static void callout_ap_entry(void *unused) { AGESA_STATUS Status = AGESA_UNSUPPORTED; @@ -219,7 +219,7 @@ AGESA_STATUS agesa_RunFuncOnAp(UINT32 Func, UINTN Data, VOID *ConfigPtr) agesadata.Func = Func; agesadata.Data = Data; agesadata.ConfigPtr = ConfigPtr; - mp_run_on_aps(callout_ap_entry, 100 * USECS_PER_MSEC); + mp_run_on_aps(callout_ap_entry, NULL, 100 * USECS_PER_MSEC); return AGESA_SUCCESS; } @@ -231,7 +231,7 @@ AGESA_STATUS agesa_RunFcnOnAllAps(UINT32 Func, UINTN Data, VOID *ConfigPtr) agesadata.Func = Func; agesadata.Data = Data; agesadata.ConfigPtr = ConfigPtr; - mp_run_on_aps(callout_ap_entry, 100 * USECS_PER_MSEC); + mp_run_on_aps(callout_ap_entry, NULL, 100 * USECS_PER_MSEC); return AGESA_SUCCESS; } diff --git a/src/soc/amd/stoneyridge/finalize.c b/src/soc/amd/stoneyridge/finalize.c index 67f9e67df4..21d203cdd2 100644 --- a/src/soc/amd/stoneyridge/finalize.c +++ b/src/soc/amd/stoneyridge/finalize.c @@ -20,7 +20,7 @@ #include <timer.h> #include <console/console.h> -static void per_core_finalize(void) +static void per_core_finalize(void *unused) { msr_t hwcr, mask; @@ -44,7 +44,7 @@ static void finalize_cores(void) int r; printk(BIOS_SPEW, "Lock SMM configuration\n"); - r = mp_run_on_all_cpus(per_core_finalize, 10 * USECS_PER_MSEC); + r = mp_run_on_all_cpus(per_core_finalize, NULL, 10 * USECS_PER_MSEC); if (r) printk(BIOS_WARNING, "Failed to finalize all cores\n"); } |