aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/reboot.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 6ddb9cd0ced0..6ef559f09acd 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -179,14 +179,6 @@ void __noreturn machine_real_restart(unsigned int type)
179 write_cr3(real_mode_header->trampoline_pgd); 179 write_cr3(real_mode_header->trampoline_pgd);
180#endif 180#endif
181 181
182 /*
183 * Write 0x1234 to absolute memory location 0x472. The BIOS reads
184 * this on booting to tell it to "Bypass memory test (also warm
185 * boot)". This seems like a fairly standard thing that gets set by
186 * REBOOT.COM programs, and the previous reset routine did this
187 * too. */
188 *((unsigned short *)0x472) = reboot_mode;
189
190 /* Jump to the identity-mapped low memory code */ 182 /* Jump to the identity-mapped low memory code */
191#ifdef CONFIG_X86_32 183#ifdef CONFIG_X86_32
192 asm volatile("jmpl *%0" : : 184 asm volatile("jmpl *%0" : :