patch-2.1.34 linux/drivers/block/floppy.c

Next file: linux/drivers/cdrom/Makefile
Previous file: linux/arch/sparc64/vmlinux.lds
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -1676,7 +1676,7 @@
 		} while ((ST0 & 0x83) != UNIT(current_drive) && inr == 2);
 	}
 	if (handler) {
-		if(intr_count >= 2)
+		if (in_interrupt())
 			schedule_bh( (void *)(void *) handler);
 		else
 			handler();

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