diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2008-07-29 16:58:52 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-30 16:54:42 -0400 |
commit | 8d60a903d986ffa26c41f0092320a3b9da20bfaf (patch) | |
tree | f05a8ae48e275d55fcfd3acfb7b3b1b601da56ea /arch/mips/sgi-ip22 | |
parent | 8f8da9adebdf04bfb3b812a7de8706fbf179fd2c (diff) |
[MIPS] kgdb: Remove existing implementation
This patch explicitly removes the kgdb implementation, for mips which
is intended to be followed by a patch that adds a kgdb implementation
for MIPS that makes use of the kgdb core in the kernel.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip22')
-rw-r--r-- | arch/mips/sgi-ip22/ip22-setup.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/mips/sgi-ip22/ip22-setup.c b/arch/mips/sgi-ip22/ip22-setup.c index 5f389ee26fca..896a1ef84829 100644 --- a/arch/mips/sgi-ip22/ip22-setup.c +++ b/arch/mips/sgi-ip22/ip22-setup.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <asm/irq.h> | 20 | #include <asm/irq.h> |
21 | #include <asm/reboot.h> | 21 | #include <asm/reboot.h> |
22 | #include <asm/time.h> | 22 | #include <asm/time.h> |
23 | #include <asm/gdb-stub.h> | ||
24 | #include <asm/io.h> | 23 | #include <asm/io.h> |
25 | #include <asm/traps.h> | 24 | #include <asm/traps.h> |
26 | #include <asm/sgialib.h> | 25 | #include <asm/sgialib.h> |
@@ -81,30 +80,6 @@ void __init plat_mem_setup(void) | |||
81 | add_preferred_console("arc", 0, NULL); | 80 | add_preferred_console("arc", 0, NULL); |
82 | } | 81 | } |
83 | 82 | ||
84 | #ifdef CONFIG_KGDB | ||
85 | { | ||
86 | char *kgdb_ttyd = prom_getcmdline(); | ||
87 | |||
88 | if ((kgdb_ttyd = strstr(kgdb_ttyd, "kgdb=ttyd")) != NULL) { | ||
89 | int line; | ||
90 | kgdb_ttyd += strlen("kgdb=ttyd"); | ||
91 | if (*kgdb_ttyd != '1' && *kgdb_ttyd != '2') | ||
92 | printk(KERN_INFO "KGDB: Uknown serial line /dev/ttyd%c" | ||
93 | ", falling back to /dev/ttyd1\n", *kgdb_ttyd); | ||
94 | line = *kgdb_ttyd == '2' ? 0 : 1; | ||
95 | printk(KERN_INFO "KGDB: Using serial line /dev/ttyd%d for " | ||
96 | "session\n", line ? 1 : 2); | ||
97 | rs_kgdb_hook(line); | ||
98 | |||
99 | printk(KERN_INFO "KGDB: Using serial line /dev/ttyd%d for " | ||
100 | "session, please connect your debugger\n", line ? 1:2); | ||
101 | |||
102 | kgdb_enabled = 1; | ||
103 | /* Breakpoints and stuff are in sgi_irq_setup() */ | ||
104 | } | ||
105 | } | ||
106 | #endif | ||
107 | |||
108 | #if defined(CONFIG_VT) && defined(CONFIG_SGI_NEWPORT_CONSOLE) | 83 | #if defined(CONFIG_VT) && defined(CONFIG_SGI_NEWPORT_CONSOLE) |
109 | { | 84 | { |
110 | ULONG *gfxinfo; | 85 | ULONG *gfxinfo; |