smmrelocate: Drop unused parameter
The parameter CPU isn't used, thus drop it. Change-Id: Ie7f6179f0545f905463752e94243b438143d8234 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87257 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Reviewed-by: Shuo Liu <shuo.liu@intel.com>
This commit is contained in:
parent
157b7ae778
commit
608db150f1
3 changed files with 12 additions and 12 deletions
|
|
@ -17,9 +17,9 @@
|
|||
#include <smp/node.h>
|
||||
#include "haswell.h"
|
||||
|
||||
static void update_save_state(int cpu, uintptr_t curr_smbase,
|
||||
uintptr_t staggered_smbase,
|
||||
struct smm_relocation_params *relo_params)
|
||||
static void update_save_state(uintptr_t curr_smbase,
|
||||
uintptr_t staggered_smbase,
|
||||
struct smm_relocation_params *relo_params)
|
||||
{
|
||||
u32 smbase;
|
||||
u32 iedbase;
|
||||
|
|
@ -120,7 +120,7 @@ void smm_relocation_handler(int cpu, uintptr_t curr_smbase,
|
|||
}
|
||||
|
||||
/* Make appropriate changes to the save state map. */
|
||||
update_save_state(cpu, curr_smbase, staggered_smbase, relo_params);
|
||||
update_save_state(curr_smbase, staggered_smbase, relo_params);
|
||||
|
||||
/* Write PRMRR and SMRR MSRs based on indicated support. */
|
||||
mtrr_cap = rdmsr(MTRR_CAP_MSR);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue