mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: H. Peter Anvin <[email protected]>
This commit is contained in:
parent
8e029fcdd8
commit
b429dbf6e8
10 changed files with 35 additions and 43 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue