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/kernel/irq.c | |
| 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/kernel/irq.c')
| -rw-r--r-- | arch/mips/kernel/irq.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index 6045b9a51a35..8acba0880d9f 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c | |||
| @@ -126,19 +126,6 @@ asmlinkage void spurious_interrupt(void) | |||
| 126 | atomic_inc(&irq_err_count); | 126 | atomic_inc(&irq_err_count); |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | #ifdef CONFIG_KGDB | ||
| 130 | extern void breakpoint(void); | ||
| 131 | extern void set_debug_traps(void); | ||
| 132 | |||
| 133 | static int kgdb_flag = 1; | ||
| 134 | static int __init nokgdb(char *str) | ||
| 135 | { | ||
| 136 | kgdb_flag = 0; | ||
| 137 | return 1; | ||
| 138 | } | ||
| 139 | __setup("nokgdb", nokgdb); | ||
| 140 | #endif | ||
| 141 | |||
| 142 | void __init init_IRQ(void) | 129 | void __init init_IRQ(void) |
| 143 | { | 130 | { |
| 144 | int i; | 131 | int i; |
| @@ -147,12 +134,4 @@ void __init init_IRQ(void) | |||
| 147 | set_irq_noprobe(i); | 134 | set_irq_noprobe(i); |
| 148 | 135 | ||
| 149 | arch_init_irq(); | 136 | arch_init_irq(); |
| 150 | |||
| 151 | #ifdef CONFIG_KGDB | ||
| 152 | if (kgdb_flag) { | ||
| 153 | printk("Wait for gdb client connection ...\n"); | ||
| 154 | set_debug_traps(); | ||
| 155 | breakpoint(); | ||
| 156 | } | ||
| 157 | #endif | ||
| 158 | } | 137 | } |
