patch-2.1.71 linux/drivers/ap1000/ddv.c
Next file: linux/drivers/block/Config.in
Previous file: linux/drivers/Makefile
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Dec 3 15:26:21 1997
- Orig file:
v2.1.70/linux/drivers/ap1000/ddv.c
- Orig date:
Tue Dec 2 16:45:18 1997
diff -u --recursive --new-file v2.1.70/linux/drivers/ap1000/ddv.c linux/drivers/ap1000/ddv.c
@@ -363,7 +363,10 @@
current->session = 1;
current->pgrp = 1;
sprintf(current->comm, "ddv_daemon");
- current->blocked = ~0UL; /* block all signals */
+ spin_lock_irq(¤t->sigmask_lock);
+ sigfillset(¤t->blocked); /* block all signals */
+ recalc_sigpending(current);
+ spin_unlock_irq(¤t->sigmask_lock);
/* Give it a realtime priority. */
current->policy = SCHED_FIFO;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov