patch-2.4.25 linux-2.4.25/arch/ppc64/kernel/udbg.c
Next file: linux-2.4.25/arch/ppc64/kernel/vio.c
Previous file: linux-2.4.25/arch/ppc64/kernel/traps.c
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
2004-02-18 05:36:30.000000000 -0800
-  Orig file: 
linux-2.4.24/arch/ppc64/kernel/udbg.c
-  Orig date: 
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.24/arch/ppc64/kernel/udbg.c linux-2.4.25/arch/ppc64/kernel/udbg.c
@@ -130,8 +130,10 @@
 {
 	int remain = n;
 	char c;
+
 	if (!ppc_md.udbg_putc)
-		for (;;);	/* stop here for cpuctl */
+		return 0;
+
 	if ( s && *s != '\0' ) {
 		while ( (( c = *s++ ) != '\0') && (remain-- > 0)) {
 			ppc_md.udbg_putc(c);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)