patch-2.4.19 linux-2.4.19/include/asm-sparc64/sbus.h

Next file: linux-2.4.19/include/asm-sparc64/siginfo.h
Previous file: linux-2.4.19/include/asm-sparc64/processor.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-sparc64/sbus.h linux-2.4.19/include/asm-sparc64/sbus.h
@@ -87,7 +87,8 @@
         for((device) = (bus)->devices; (device); (device)=(device)->next)
         
 #define for_all_sbusdev(device, bus) \
-	for((bus) = sbus_root, ((device) = (bus) ? (bus)->devices : 0); (bus); (device)=((device)->next ? (device)->next : ((bus) = (bus)->next, (bus) ? (bus)->devices : 0)))
+	for ((bus) = sbus_root; (bus); (bus) = (bus)->next) \
+		for ((device) = (bus)->devices; (device); (device) = (device)->next)
 
 /* Driver DVMA interfaces. */
 #define sbus_can_dma_64bit(sdev)	(1)

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