patch-2.1.37 linux/drivers/sbus/char/sunkbd.c

Next file: linux/drivers/sbus/char/sunserial.c
Previous file: linux/drivers/sbus/char/creator.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/sbus/char/sunkbd.c linux/drivers/sbus/char/sunkbd.c
@@ -487,7 +487,7 @@
 				add_timer (&auto_repeat_timer);
 			}
 		}
-		rep = set_bit(keycode, key_down);
+		rep = test_and_set_bit(keycode, key_down);
 	}
 
 	if(raw_mode)

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