diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-06-20 05:21:30 +0300 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-06-21 08:04:53 +0200 |
commit | c3c4a38c95b90fbf713e98f7b4d1e5be18bee633 (patch) | |
tree | 260b74f1f4c1cc79bb44b4661e97fcd08629231b /src/cpu/x86 | |
parent | c3ed88636a3533b97cef5bcb445cbe61edbfae7f (diff) | |
download | coreboot-c3c4a38c95b90fbf713e98f7b4d1e5be18bee633.tar.xz |
Misc: Use acpi_is_wakeup_s3()
Change-Id: I46906e6d68775edc5cfe199cfeb465db4da2691f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/6072
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/cpu/x86')
-rw-r--r-- | src/cpu/x86/smm/backup_default_smm.c | 2 |
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; } |