patch-2.3.46 linux/arch/m68k/atari/stram.c

Next file: linux/arch/m68k/mac/baboon.c
Previous file: linux/arch/m68k/atari/joystick.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.45/linux/arch/m68k/atari/stram.c linux/arch/m68k/atari/stram.c
@@ -1168,7 +1168,7 @@
 {
 	unsigned long start, len;
 
-	while( CURRENT ) {
+	while( !QUEUE_EMPTY ) {
 		if (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
 			panic("stram: request list destroyed");
 		if (CURRENT->bh) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)