patch-2.4.22 linux-2.4.22/arch/ppc/kernel/ppc-stub.c
Next file: linux-2.4.22/arch/ppc/kernel/ppc405_pci.c
Previous file: linux-2.4.22/arch/ppc/kernel/pci_auto.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/kernel/ppc-stub.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/kernel/ppc-stub.c linux-2.4.22/arch/ppc/kernel/ppc-stub.c
@@ -716,10 +716,10 @@
breakinst: .long 0x7d821008");
}
-#ifdef CONFIG_KGDB_CONSOLE
-/*
+#ifdef CONFIG_KGDB_CONSOLE
+/*
* Output string in GDB O-packet format if GDB has connected. If nothing
- * output, returns 0 (caller must then handle output)
+ * output, returns 0 (caller must then handle output)
*/
int
kgdb_output_string (const char* s, unsigned int count)
@@ -729,7 +729,7 @@
if (!kgdb_started)
return 0;
- count = (count <= (sizeof(buffer) / 2 - 2))
+ count = (count <= (sizeof(buffer) / 2 - 2))
? count : (sizeof(buffer) / 2 - 2);
buffer[0] = 'O';
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)