mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 15:42:32 +00: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 <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:
parent
8e029fcdd8
commit
b429dbf6e8
10 changed files with 35 additions and 43 deletions
|
@ -336,7 +336,7 @@ core_initcall(reboot_init);
|
|||
void machine_real_restart(unsigned int type)
|
||||
{
|
||||
void (*restart_lowmem)(unsigned int) = (void (*)(unsigned int))
|
||||
real_mode_header.machine_real_restart_asm;
|
||||
real_mode_header->machine_real_restart_asm;
|
||||
|
||||
local_irq_disable();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue