summaryrefslogtreecommitdiff
path: root/src/cpu/x86
diff options
context:
space:
mode:
authorEugene D Myers <cedarhouse@comcast.net>2020-04-15 19:11:52 -0400
committerPatrick Georgi <pgeorgi@google.com>2020-05-02 17:04:16 +0000
commitf213f1799244ccfe4acab99c22df3dd183a3965b (patch)
treec5608443424b94ae5021a73fa63c8faffb0f1dc6 /src/cpu/x86
parent076605bc92730553e9adae543713f0d356a94709 (diff)
downloadcoreboot-f213f1799244ccfe4acab99c22df3dd183a3965b.tar.xz
intel/stm: Drop now unneeded `num_cpus` param
Suggested by Nico Huber in CB:38766 Change-Id: Ib8a340f17a12951bc6bc67e3093046575e7b0e46 Signed-off-by: Eugene D Myers <cedarhouse@comcast.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40438 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/cpu/x86')
-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 fa550f137a..44a29151b5 100644
--- a/src/cpu/x86/mp_init.c
+++ b/src/cpu/x86/mp_init.c
@@ -741,7 +741,7 @@ static void asmlinkage smm_do_relocation(void *arg)
mseg = mp_state.perm_smbase +
(mp_state.perm_smsize - CONFIG_MSEG_SIZE);
- stm_setup(mseg, p->cpu, runtime->num_cpus,
+ stm_setup(mseg, p->cpu,
perm_smbase,
mp_state.perm_smbase,
runtime->start32_offset);