aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/kgdb.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/asm-sh/kgdb.h b/include/asm-sh/kgdb.h
index 5334e86ccad6..4bc8cb187d11 100644
--- a/include/asm-sh/kgdb.h
+++ b/include/asm-sh/kgdb.h
@@ -17,7 +17,6 @@
17#define __KGDB_H 17#define __KGDB_H
18 18
19#include <asm/ptrace.h> 19#include <asm/ptrace.h>
20#include <asm/cacheflush.h>
21 20
22/* Same as pt_regs but has vbr in place of syscall_nr */ 21/* Same as pt_regs but has vbr in place of syscall_nr */
23struct kgdb_regs { 22struct kgdb_regs {
@@ -67,17 +66,6 @@ extern int setjmp(jmp_buf __jmpb);
67/* Forced breakpoint */ 66/* Forced breakpoint */
68#define breakpoint() __asm__ __volatile__("trapa #0x3c") 67#define breakpoint() __asm__ __volatile__("trapa #0x3c")
69 68
70/* KGDB should be able to flush all kernel text space */
71#if defined(CONFIG_CPU_SH4)
72#define kgdb_flush_icache_range(start, end) \
73{ \
74 __flush_purge_region((void*)(start), (int)(end) - (int)(start));\
75 flush_icache_range((start), (end)); \
76}
77#else
78#define kgdb_flush_icache_range(start, end) do { } while (0)
79#endif
80
81/* Taken from sh-stub.c of GDB 4.18 */ 69/* Taken from sh-stub.c of GDB 4.18 */
82static const char hexchars[] = "0123456789abcdef"; 70static const char hexchars[] = "0123456789abcdef";
83 71