]> Git Repo - linux.git/blobdiff - drivers/acpi/sleep.c
efi/x86: add headroom to decompressor BSS to account for setup block
[linux.git] / drivers / acpi / sleep.c
index 6747a279621bf3eb7b494b18e856fb8185a65965..4398806298398a78a3160ea13d212a2627a3f9c3 100644 (file)
@@ -61,8 +61,11 @@ static struct notifier_block tts_notifier = {
 static int acpi_sleep_prepare(u32 acpi_state)
 {
 #ifdef CONFIG_ACPI_SLEEP
+       unsigned long acpi_wakeup_address;
+
        /* do we have a wakeup address for S2 and S3? */
        if (acpi_state == ACPI_STATE_S3) {
+               acpi_wakeup_address = acpi_get_wakeup_address();
                if (!acpi_wakeup_address)
                        return -EFAULT;
                acpi_set_waking_vector(acpi_wakeup_address);
This page took 0.033407 seconds and 4 git commands to generate.