patch-2.0.17 linux/drivers/char/ftape/fdc-isr.c

Next file: linux/drivers/char/n_tty.c
Previous file: linux/drivers/char/ftape/fdc-io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.16/linux/drivers/char/ftape/fdc-isr.c linux/drivers/char/ftape/fdc-isr.c
@@ -771,7 +771,7 @@
 			}
 			seek_completed = 1;
 			fdc_mode = fdc_idle;
-		} else if (!wait_intr) {
+		} else if (!waitqueue_active(&wait_intr)) {
 			if (expected_stray_interrupts == 0) {
 				TRACE(2, "unexpected stray interrupt");
 			} else {

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