patch-2.1.29 linux/drivers/char/keyboard.c

Next file: linux/drivers/char/misc.c
Previous file: linux/drivers/char/istallion.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/drivers/char/keyboard.c linux/drivers/char/keyboard.c
@@ -1,3 +1,4 @@
+extern void allow_interrupts(void);
 /*
  * linux/drivers/char/keyboard.c
  *
@@ -1080,6 +1081,7 @@
 		reply_expected = 1;
 		outb_p(data, 0x60);
 		for(i=0; i<0x200000; i++) {
+			allow_interrupts();
 			inb_p(0x64);		/* just as a delay */
 			if (acknowledge)
 				return 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov