patch-2.1.69 linux/drivers/sound/dmasound.c

Next file: linux/drivers/sound/maui.c
Previous file: linux/drivers/sound/dmabuf.c.old
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/drivers/sound/dmasound.c linux/drivers/sound/dmasound.c
@@ -657,7 +657,7 @@
 static struct sound_queue sq;
 
 #define sq_block_address(i)	(sq.buffers[i])
-#define SIGNAL_RECEIVED	(current->signal & ~current->blocked)
+#define SIGNAL_RECEIVED	(signal_pending(current))
 #define NON_BLOCKING(open_mode)	(open_mode & O_NONBLOCK)
 #define ONE_SECOND	HZ	/* in jiffies (100ths of a second) */
 #define NO_TIME_LIMIT	0xffffffff

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