patch-2.2.11 linux/arch/i386/boot/setup.S

Next file: linux/arch/i386/config.in
Previous file: linux/arch/i386/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.10/linux/arch/i386/boot/setup.S linux/arch/i386/boot/setup.S
@@ -757,11 +757,11 @@
 ! with no keyboard attached...
 
 empty_8042:
-       push    cx
-       mov     cx,#0xFFFF
+       push    ecx
+       mov     ecx,#0xFFFFFF
 
 empty_8042_loop:
-       dec     cx
+       dec     ecx
        jz      empty_8042_end_loop
 
 	call	delay
@@ -775,7 +775,7 @@
 	test	al,#2		! is input buffer full?
 	jnz	empty_8042_loop	! yes - loop
 empty_8042_end_loop:
-        pop     cx
+        pop     ecx
 	ret
 
 !

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