Title: [8186] trunk/kernel/kgdb.c: kgdb: drop custom __weak patch as we now override the probe functions
Revision
8186
Author
vapier
Date
2010-01-19 04:32:14 -0500 (Tue, 19 Jan 2010)

Log Message

kgdb: drop custom __weak patch as we now override the probe functions

Modified Paths

Diff

Modified: trunk/kernel/kgdb.c (8185 => 8186)


--- trunk/kernel/kgdb.c	2010-01-19 09:31:41 UTC (rev 8185)
+++ trunk/kernel/kgdb.c	2010-01-19 09:32:14 UTC (rev 8186)
@@ -363,7 +363,7 @@
  * Convert the memory pointed to by mem into hex, placing result in buf.
  * Return a pointer to the last char put in buf (null). May return an error.
  */
-int __weak kgdb_mem2hex(char *mem, char *buf, int count)
+int kgdb_mem2hex(char *mem, char *buf, int count)
 {
 	char *tmp;
 	int err;
@@ -393,7 +393,7 @@
  * 0x7d escaped with 0x7d.  Return a pointer to the character after
  * the last byte written.
  */
-int __weak kgdb_ebin2mem(char *buf, char *mem, int count)
+static int kgdb_ebin2mem(char *buf, char *mem, int count)
 {
 	int size = 0;
 	char *c = buf;
@@ -413,7 +413,7 @@
  * Return a pointer to the character AFTER the last byte written.
  * May return an error.
  */
-int __weak kgdb_hex2mem(char *buf, char *mem, int count)
+int kgdb_hex2mem(char *buf, char *mem, int count)
 {
 	char *tmp_raw;
 	char *tmp_hex;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to