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:
committed by
H. Peter Anvin
parent
8e029fcdd8
commit
b429dbf6e8
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user