diff options
author | Jarkko Sakkinen <jarkko.sakkinen@intel.com> | 2012-05-08 14:22:41 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-08 14:48:45 -0400 |
commit | b429dbf6e866bd6dadb56fae66f61f611cde57ff (patch) | |
tree | e01a2765f5e8847fc4229f45119ccce20de896e3 /drivers/acpi/sleep.c | |
parent | 8e029fcdd8702719c9179317cae9ef84ebe7027e (diff) |
x86, realmode: don't copy real_mode_header
Replaced copying of real_mode_header with a pointer
to beginning of RM memory.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Link: http://lkml.kernel.org/r/1336501366-28617-19-git-send-email-jarkko.sakkinen@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'drivers/acpi/sleep.c')
-rw-r--r-- | drivers/acpi/sleep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index e77aa4a1c9f6..06139005c4dd 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c | |||
@@ -93,7 +93,7 @@ static struct notifier_block tts_notifier = { | |||
93 | static int acpi_sleep_prepare(u32 acpi_state) | 93 | static int acpi_sleep_prepare(u32 acpi_state) |
94 | { | 94 | { |
95 | #ifdef CONFIG_ACPI_SLEEP | 95 | #ifdef CONFIG_ACPI_SLEEP |
96 | unsigned long wakeup_pa = real_mode_header.wakeup_start; | 96 | unsigned long wakeup_pa = real_mode_header->wakeup_start; |
97 | /* do we have a wakeup address for S2 and S3? */ | 97 | /* do we have a wakeup address for S2 and S3? */ |
98 | if (acpi_state == ACPI_STATE_S3) { | 98 | if (acpi_state == ACPI_STATE_S3) { |
99 | if (!wakeup_pa) | 99 | if (!wakeup_pa) |