aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10/kernel
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2011-10-31 20:12:51 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-31 20:30:56 -0400
commit50e1499f468fd74c6db95deb2e1e6bfee578ae70 (patch)
tree0b34eb53c9b164cd2f3562cdef1207b814ac26d8 /arch/cris/arch-v10/kernel
parent55036ba76b2d2fd53b5c00993fcec5ed56e83922 (diff)
kgdb: follow rename pack_hex_byte() to hex_byte_pack()
There is no functional change. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Cc: David Howells <dhowells@redhat.com> Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com> Cc: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris/arch-v10/kernel')
-rw-r--r--arch/cris/arch-v10/kernel/kgdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c
index b9f9c8ce2169..b579dd02e098 100644
--- a/arch/cris/arch-v10/kernel/kgdb.c
+++ b/arch/cris/arch-v10/kernel/kgdb.c
@@ -694,7 +694,7 @@ mem2hex(char *buf, unsigned char *mem, int count)
694 /* Valid mem address. */ 694 /* Valid mem address. */
695 for (i = 0; i < count; i++) { 695 for (i = 0; i < count; i++) {
696 ch = *mem++; 696 ch = *mem++;
697 buf = pack_hex_byte(buf, ch); 697 buf = hex_byte_pack(buf, ch);
698 } 698 }
699 } 699 }
700 700
@@ -868,7 +868,7 @@ stub_is_stopped(int sigval)
868 /* Send trap type (converted to signal) */ 868 /* Send trap type (converted to signal) */
869 869
870 *ptr++ = 'T'; 870 *ptr++ = 'T';
871 ptr = pack_hex_byte(ptr, sigval); 871 ptr = hex_byte_pack(ptr, sigval);
872 872
873 /* Send register contents. We probably only need to send the 873 /* Send register contents. We probably only need to send the
874 * PC, frame pointer and stack pointer here. Other registers will be 874 * PC, frame pointer and stack pointer here. Other registers will be
@@ -881,7 +881,7 @@ stub_is_stopped(int sigval)
881 status = read_register (regno, &reg_cont); 881 status = read_register (regno, &reg_cont);
882 882
883 if (status == SUCCESS) { 883 if (status == SUCCESS) {
884 ptr = pack_hex_byte(ptr, regno); 884 ptr = hex_byte_pack(ptr, regno);
885 *ptr++ = ':'; 885 *ptr++ = ':';
886 886
887 ptr = mem2hex(ptr, (unsigned char *)&reg_cont, 887 ptr = mem2hex(ptr, (unsigned char *)&reg_cont,