patch-2.3.29 linux/arch/i386/boot/bootsect.S

Next file: linux/arch/i386/boot/compressed/misc.c
Previous file: linux/arch/i386/boot/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/arch/i386/boot/bootsect.S linux/arch/i386/boot/bootsect.S
@@ -247,7 +247,8 @@
 	xorw	%bx, %bx		# bx is starting address within segment
 rp_read:
 #ifdef __BIG_KERNEL__
-	lcall	bootsect_kludge		# in setup.S
+	bootsect_kludge = 0x220		# 0x200 (size of bootsector) + 0x20 (offset
+	lcall	bootsect_kludge		# of bootsect_kludge in setup.S)
 #else
 	movw	%es, %ax
 	subw	$SYSSEG, %ax
@@ -398,11 +399,9 @@
 # don't have to worry about it later.
 
 kill_motor:
-	pushw	%dx
 	movw	$0x3f2, %dx
 	xorb	%al, %al
 	outb	%al, %dx
-	popw	%dx
 	ret
 
 sectors:	.word 0

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)