aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/reboot.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@intel.com>2012-05-08 14:22:41 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2012-05-08 14:48:45 -0400
commitb429dbf6e866bd6dadb56fae66f61f611cde57ff (patch)
treee01a2765f5e8847fc4229f45119ccce20de896e3 /arch/x86/kernel/reboot.c
parent8e029fcdd8702719c9179317cae9ef84ebe7027e (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 'arch/x86/kernel/reboot.c')
-rw-r--r--arch/x86/kernel/reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 050eff29a4bb..658f856f09a3 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -336,7 +336,7 @@ core_initcall(reboot_init);
336void machine_real_restart(unsigned int type) 336void machine_real_restart(unsigned int type)
337{ 337{
338 void (*restart_lowmem)(unsigned int) = (void (*)(unsigned int)) 338 void (*restart_lowmem)(unsigned int) = (void (*)(unsigned int))
339 real_mode_header.machine_real_restart_asm; 339 real_mode_header->machine_real_restart_asm;
340 340
341 local_irq_disable(); 341 local_irq_disable();
342 342