diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2011-10-31 20:12:51 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 20:30:56 -0400 |
| commit | 50e1499f468fd74c6db95deb2e1e6bfee578ae70 (patch) | |
| tree | 0b34eb53c9b164cd2f3562cdef1207b814ac26d8 /arch/cris/arch-v32/kernel | |
| parent | 55036ba76b2d2fd53b5c00993fcec5ed56e83922 (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-v32/kernel')
| -rw-r--r-- | arch/cris/arch-v32/kernel/kgdb.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/cris/arch-v32/kernel/kgdb.c b/arch/cris/arch-v32/kernel/kgdb.c index c0343c3ea7f8..8c1d35cdf00a 100644 --- a/arch/cris/arch-v32/kernel/kgdb.c +++ b/arch/cris/arch-v32/kernel/kgdb.c | |||
| @@ -677,7 +677,7 @@ mem2hex(char *buf, unsigned char *mem, int count) | |||
| 677 | /* Valid mem address. */ | 677 | /* Valid mem address. */ |
| 678 | for (i = 0; i < count; i++) { | 678 | for (i = 0; i < count; i++) { |
| 679 | ch = *mem++; | 679 | ch = *mem++; |
| 680 | buf = pack_hex_byte(buf, ch); | 680 | buf = hex_byte_pack(buf, ch); |
| 681 | } | 681 | } |
| 682 | } | 682 | } |
| 683 | /* Terminate properly. */ | 683 | /* Terminate properly. */ |
| @@ -695,7 +695,7 @@ mem2hex_nbo(char *buf, unsigned char *mem, int count) | |||
| 695 | mem += count - 1; | 695 | mem += count - 1; |
| 696 | for (i = 0; i < count; i++) { | 696 | for (i = 0; i < count; i++) { |
| 697 | ch = *mem--; | 697 | ch = *mem--; |
| 698 | buf = pack_hex_byte(buf, ch); | 698 | buf = hex_byte_pack(buf, ch); |
| 699 | } | 699 | } |
| 700 | 700 | ||
| 701 | /* Terminate properly. */ | 701 | /* Terminate properly. */ |
| @@ -880,7 +880,7 @@ stub_is_stopped(int sigval) | |||
| 880 | /* Send trap type (converted to signal) */ | 880 | /* Send trap type (converted to signal) */ |
| 881 | 881 | ||
| 882 | *ptr++ = 'T'; | 882 | *ptr++ = 'T'; |
| 883 | ptr = pack_hex_byte(ptr, sigval); | 883 | ptr = hex_byte_pack(ptr, sigval); |
| 884 | 884 | ||
| 885 | if (((reg.exs & 0xff00) >> 8) == 0xc) { | 885 | if (((reg.exs & 0xff00) >> 8) == 0xc) { |
| 886 | 886 | ||
| @@ -988,26 +988,26 @@ stub_is_stopped(int sigval) | |||
| 988 | } | 988 | } |
| 989 | /* Only send PC, frame and stack pointer. */ | 989 | /* Only send PC, frame and stack pointer. */ |
| 990 | read_register(PC, ®_cont); | 990 | read_register(PC, ®_cont); |
| 991 | ptr = pack_hex_byte(ptr, PC); | 991 | ptr = hex_byte_pack(ptr, PC); |
| 992 | *ptr++ = ':'; | 992 | *ptr++ = ':'; |
| 993 | ptr = mem2hex(ptr, (unsigned char *)®_cont, register_size[PC]); | 993 | ptr = mem2hex(ptr, (unsigned char *)®_cont, register_size[PC]); |
| 994 | *ptr++ = ';'; | 994 | *ptr++ = ';'; |
| 995 | 995 | ||
| 996 | read_register(R8, ®_cont); | 996 | read_register(R8, ®_cont); |
| 997 | ptr = pack_hex_byte(ptr, R8); | 997 | ptr = hex_byte_pack(ptr, R8); |
| 998 | *ptr++ = ':'; | 998 | *ptr++ = ':'; |
| 999 | ptr = mem2hex(ptr, (unsigned char *)®_cont, register_size[R8]); | 999 | ptr = mem2hex(ptr, (unsigned char *)®_cont, register_size[R8]); |
| 1000 | *ptr++ = ';'; | 1000 | *ptr++ = ';'; |
| 1001 | 1001 | ||
| 1002 | read_register(SP, ®_cont); | 1002 | read_register(SP, ®_cont); |
| 1003 | ptr = pack_hex_byte(ptr, SP); | 1003 | ptr = hex_byte_pack(ptr, SP); |
| 1004 | *ptr++ = ':'; | 1004 | *ptr++ = ':'; |
| 1005 | ptr = mem2hex(ptr, (unsigned char *)®_cont, register_size[SP]); | 1005 | ptr = mem2hex(ptr, (unsigned char *)®_cont, register_size[SP]); |
| 1006 | *ptr++ = ';'; | 1006 | *ptr++ = ';'; |
| 1007 | 1007 | ||
| 1008 | /* Send ERP as well; this will save us an entire register fetch in some cases. */ | 1008 | /* Send ERP as well; this will save us an entire register fetch in some cases. */ |
| 1009 | read_register(ERP, ®_cont); | 1009 | read_register(ERP, ®_cont); |
| 1010 | ptr = pack_hex_byte(ptr, ERP); | 1010 | ptr = hex_byte_pack(ptr, ERP); |
| 1011 | *ptr++ = ':'; | 1011 | *ptr++ = ':'; |
| 1012 | ptr = mem2hex(ptr, (unsigned char *)®_cont, register_size[ERP]); | 1012 | ptr = mem2hex(ptr, (unsigned char *)®_cont, register_size[ERP]); |
| 1013 | *ptr++ = ';'; | 1013 | *ptr++ = ';'; |
