patch-2.1.81 linux/drivers/char/ftape/lowlevel/ftape-tracing.h

Next file: linux/drivers/char/ftape/zftape/zftape-init.c
Previous file: linux/drivers/char/ftape/lowlevel/ftape-rw.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.80/linux/drivers/char/ftape/lowlevel/ftape-tracing.h linux/drivers/char/ftape/lowlevel/ftape-tracing.h
@@ -171,7 +171,7 @@
  *  but rather into ftape-rw.h (maybe)
  */
 #define FT_SIGNAL_EXIT(sig_mask)					\
-	if (current->signal & (sig_mask)) {				\
+	if (sigtestsetmask(&current->signal, sig_mask)) {		\
 		TRACE_ABORT(-EINTR,					\
 			    ft_t_warn,					\
 			    "interrupted by non-blockable signal");	\

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