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
- Lines: 28
- Date:
Sun Jan 25 10:05:46 1998
- Orig file:
v2.1.81/linux/drivers/char/ftape/lowlevel/fdc-io.c
- Orig date:
Fri Jan 23 18:10:31 1998
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(¤t->sigmask_lock);
- old_sigmask = current->blocked;
- siginitset(¤t->blocked, _BLOCK_ALL);
- recalc_sigpending(current);
- spin_unlock_irq(¤t->sigmask_lock);
+ old_sigmask = current->blocked;
+ sigfillset(¤t->blocked);
+ recalc_sigpending(current);
+ spin_unlock_irq(¤t->sigmask_lock);
add_wait_queue(&ftape_wait_intr, &wait);
while (!ft_interrupt_seen && current->state != TASK_RUNNING) {
@@ -414,9 +414,9 @@
}
spin_lock_irq(¤t->sigmask_lock);
- current->blocked = old_sigmask;
- recalc_sigpending(current);
- spin_unlock_irq(¤t->sigmask_lock);
+ current->blocked = old_sigmask;
+ recalc_sigpending(current);
+ spin_unlock_irq(¤t->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