patch-2.1.82 linux/drivers/char/ftape/lowlevel/fdc-io.c

Next file: linux/drivers/char/keyboard.c
Previous file: linux/drivers/char/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.81/linux/drivers/char/ftape/lowlevel/fdc-io.c linux/drivers/char/ftape/lowlevel/fdc-io.c
@@ -403,10 +403,10 @@
 	current->state = TASK_INTERRUPTIBLE;
 
 	spin_lock_irq(&current->sigmask_lock);
-        old_sigmask = current->blocked;
-        siginitset(&current->blocked, _BLOCK_ALL);
-        recalc_sigpending(current);
-        spin_unlock_irq(&current->sigmask_lock);
+	old_sigmask = current->blocked;
+	sigfillset(&current->blocked);
+	recalc_sigpending(current);
+	spin_unlock_irq(&current->sigmask_lock);
 
 	add_wait_queue(&ftape_wait_intr, &wait);
 	while (!ft_interrupt_seen && current->state != TASK_RUNNING) {
@@ -414,9 +414,9 @@
         }
 
 	spin_lock_irq(&current->sigmask_lock);
-        current->blocked = old_sigmask;
-        recalc_sigpending(current);
-        spin_unlock_irq(&current->sigmask_lock);
+	current->blocked = old_sigmask;
+	recalc_sigpending(current);
+	spin_unlock_irq(&current->sigmask_lock);
 	
 	remove_wait_queue(&ftape_wait_intr, &wait);
 	/*  the following IS necessary. True: as well

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