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

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)