summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 0693bc712a..e70c142cc5 100644
--- a/src/cpu/x86/mp_init.c
+++ b/src/cpu/x86/mp_init.c
@@ -738,7 +738,7 @@ static void asmlinkage smm_do_relocation(void *arg)
}
#else
perm_smbase = mp_state.perm_smbase;
- perm_smbase -= cpu * runtime->save_state_size;
+ perm_smbase -= cpu * mp_state.smm_save_state_size;
#endif
/* Setup code checks this callback for validity. */