patch-2.1.70 linux/drivers/ap1000/ddv.c

Next file: linux/drivers/block/ide-cd.c
Previous file: linux/arch/sparc64/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.69/linux/drivers/ap1000/ddv.c linux/drivers/ap1000/ddv.c
@@ -382,7 +382,9 @@
 		save_flags(flags); cli();
 
 		while (!rem_queue) {
-			current->signal = 0;
+			spin_lock_irq(&current->sigmask_lock);
+			flush_signals(current);
+			spin_unlock_irq(&current->sigmask_lock);
 			interruptible_sleep_on(&ddv_daemon_wait);
 		}
 

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