diff options
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 4efebe88e64..066e65c59b5 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -43,10 +43,6 @@ | |||
43 | 43 | ||
44 | #define DBG(fmt...) | 44 | #define DBG(fmt...) |
45 | 45 | ||
46 | #if defined CONFIG_KGDB | ||
47 | #include <asm/kgdb.h> | ||
48 | #endif | ||
49 | |||
50 | extern void bootx_init(unsigned long r4, unsigned long phys); | 46 | extern void bootx_init(unsigned long r4, unsigned long phys); |
51 | 47 | ||
52 | int boot_cpuid; | 48 | int boot_cpuid; |
@@ -302,18 +298,6 @@ void __init setup_arch(char **cmdline_p) | |||
302 | 298 | ||
303 | xmon_setup(); | 299 | xmon_setup(); |
304 | 300 | ||
305 | #if defined(CONFIG_KGDB) | ||
306 | if (ppc_md.kgdb_map_scc) | ||
307 | ppc_md.kgdb_map_scc(); | ||
308 | set_debug_traps(); | ||
309 | if (strstr(cmd_line, "gdb")) { | ||
310 | if (ppc_md.progress) | ||
311 | ppc_md.progress("setup_arch: kgdb breakpoint", 0x4000); | ||
312 | printk("kgdb breakpoint activated\n"); | ||
313 | breakpoint(); | ||
314 | } | ||
315 | #endif | ||
316 | |||
317 | /* | 301 | /* |
318 | * Set cache line size based on type of cpu as a default. | 302 | * Set cache line size based on type of cpu as a default. |
319 | * Systems with OF can look in the properties on the cpu node(s) | 303 | * Systems with OF can look in the properties on the cpu node(s) |