patch-2.0.18 linux/arch/m68k/atari/stdma.c

Next file: linux/drivers/block/xd.c
Previous file: linux/arch/i386/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.17/linux/arch/m68k/atari/stdma.c linux/arch/m68k/atari/stdma.c
@@ -132,7 +132,7 @@
 
 int stdma_others_waiting(void)
 {
-	return stdma_wait != NULL;
+	return waitqueue_active(&stdma_wait);
 }
 
 

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