patch-2.1.57 linux/drivers/sound/maui.c

Next file: linux/drivers/sound/midi_synth.c
Previous file: linux/drivers/sound/dmasound.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/drivers/sound/maui.c linux/drivers/sound/maui.c
@@ -95,8 +95,8 @@
 	      maui_sleep_flag.opts |= WK_TIMEOUT;
 	  }
 	maui_sleep_flag.opts &= ~WK_SLEEP;
-      };
-      if ((current->signal & ~current->blocked))
+      }
+      if (signal_pending(current))
 	{
 	  return 0;
 	}

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