summaryrefslogtreecommitdiff
path: root/src/cpu/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86')
-rw-r--r--src/cpu/x86/smm/backup_default_smm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/smm/backup_default_smm.c b/src/cpu/x86/smm/backup_default_smm.c
index ef1d3a9e41..f63c5d27a2 100644
--- a/src/cpu/x86/smm/backup_default_smm.c
+++ b/src/cpu/x86/smm/backup_default_smm.c
@@ -45,7 +45,7 @@ void *backup_default_smm_area(void)
}
/* Only back up the area on S3 resume. */
- if (acpi_slp_type == 3) {
+ if (acpi_is_wakeup_s3()) {
memcpy(save_area, default_smm, SMM_DEFAULT_SIZE);
return save_area;
}