diff options
Diffstat (limited to 'arch/mips/sibyte/cfe/setup.c')
-rw-r--r-- | arch/mips/sibyte/cfe/setup.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/mips/sibyte/cfe/setup.c b/arch/mips/sibyte/cfe/setup.c index fd9604d5555a..3de30f79db3f 100644 --- a/arch/mips/sibyte/cfe/setup.c +++ b/arch/mips/sibyte/cfe/setup.c | |||
@@ -59,10 +59,6 @@ int cfe_cons_handle; | |||
59 | extern unsigned long initrd_start, initrd_end; | 59 | extern unsigned long initrd_start, initrd_end; |
60 | #endif | 60 | #endif |
61 | 61 | ||
62 | #ifdef CONFIG_KGDB | ||
63 | extern int kgdb_port; | ||
64 | #endif | ||
65 | |||
66 | static void __noreturn cfe_linux_exit(void *arg) | 62 | static void __noreturn cfe_linux_exit(void *arg) |
67 | { | 63 | { |
68 | int warm = *(int *)arg; | 64 | int warm = *(int *)arg; |
@@ -246,9 +242,6 @@ void __init prom_init(void) | |||
246 | int argc = fw_arg0; | 242 | int argc = fw_arg0; |
247 | char **envp = (char **) fw_arg2; | 243 | char **envp = (char **) fw_arg2; |
248 | int *prom_vec = (int *) fw_arg3; | 244 | int *prom_vec = (int *) fw_arg3; |
249 | #ifdef CONFIG_KGDB | ||
250 | char *arg; | ||
251 | #endif | ||
252 | 245 | ||
253 | _machine_restart = cfe_linux_restart; | 246 | _machine_restart = cfe_linux_restart; |
254 | _machine_halt = cfe_linux_halt; | 247 | _machine_halt = cfe_linux_halt; |
@@ -309,13 +302,6 @@ void __init prom_init(void) | |||
309 | } | 302 | } |
310 | } | 303 | } |
311 | 304 | ||
312 | #ifdef CONFIG_KGDB | ||
313 | if ((arg = strstr(arcs_cmdline, "kgdb=duart")) != NULL) | ||
314 | kgdb_port = (arg[10] == '0') ? 0 : 1; | ||
315 | else | ||
316 | kgdb_port = 1; | ||
317 | #endif | ||
318 | |||
319 | #ifdef CONFIG_BLK_DEV_INITRD | 305 | #ifdef CONFIG_BLK_DEV_INITRD |
320 | { | 306 | { |
321 | char *ptr; | 307 | char *ptr; |