diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index 8bbea6aa40d9705b68e1dd9531b7c9c74d96a106..fde5bde3b6053b5362a861ea5c0c06adbceb9068 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 .section ".entrytext", "ax" start_of_setup: -#ifdef SAFE_RESET_DISK_CONTROLLER -# Reset the disk controller. - movw $0x0000, %ax # Reset disk controller - movb $0x80, %dl # All disks - int $0x13 -#endif - # Force %es = %ds movw %ds, %ax movw %ax, %es