aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/boot/header.S7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S
index 8bbea6aa40d..fde5bde3b60 100644
--- a/arch/x86/boot/header.S
+++ b/arch/x86/boot/header.S
@@ -386,13 +386,6 @@ init_size: .long INIT_SIZE # kernel initialization size
386 386
387 .section ".entrytext", "ax" 387 .section ".entrytext", "ax"
388start_of_setup: 388start_of_setup:
389#ifdef SAFE_RESET_DISK_CONTROLLER
390# Reset the disk controller.
391 movw $0x0000, %ax # Reset disk controller
392 movb $0x80, %dl # All disks
393 int $0x13
394#endif
395
396# Force %es = %ds 389# Force %es = %ds
397 movw %ds, %ax 390 movw %ds, %ax
398 movw %ax, %es 391 movw %ax, %es