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>
This commit is contained in:
Jarkko Sakkinen
2012-05-08 21:22:41 +03:00
committed by H. Peter Anvin
parent 8e029fcdd8
commit b429dbf6e8
10 changed files with 35 additions and 43 deletions

View File

@@ -202,7 +202,7 @@ static int tboot_setup_sleep(void)
}
tboot->acpi_sinfo.kernel_s3_resume_vector =
real_mode_header.wakeup_start;
real_mode_header->wakeup_start;
return 0;
}