x86, realmode: don't copy real_mode_header
[cascardo/linux.git] / drivers / acpi / sleep.c
index e77aa4a..0613900 100644 (file)
@@ -93,7 +93,7 @@ static struct notifier_block tts_notifier = {
 static int acpi_sleep_prepare(u32 acpi_state)
 {
 #ifdef CONFIG_ACPI_SLEEP
-       unsigned long wakeup_pa = real_mode_header.wakeup_start;
+       unsigned long wakeup_pa = real_mode_header->wakeup_start;
        /* do we have a wakeup address for S2 and S3? */
        if (acpi_state == ACPI_STATE_S3) {
                if (!wakeup_pa)