[SPARC64]: Kill unused function 'kernel_enter_debugger'.
[deliverable/linux.git] / arch / sparc64 / kernel / setup.c
index a813441b358f1355d9a732a530e7ef5160dcfba9..e6b57ba2b744b36d501a1f00600427ff61c137de 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/slab.h>
 #include <asm/smp.h>
 #include <linux/user.h>
-#include <linux/a.out.h>
 #include <linux/screen_info.h>
 #include <linux/delay.h>
 #include <linux/fs.h>
@@ -84,18 +83,13 @@ unsigned int boot_flags = 0;
 /* Exported for mm/init.c:paging_init. */
 unsigned long cmdline_memory_size = 0;
 
-static struct console prom_debug_console = {
-       .name =         "debug",
+static struct console prom_early_console = {
+       .name =         "earlyprom",
        .write =        prom_console_write,
-       .flags =        CON_PRINTBUFFER,
+       .flags =        CON_PRINTBUFFER | CON_BOOT,
        .index =        -1,
 };
 
-/* XXX Implement this at some point... */
-void kernel_enter_debugger(void)
-{
-}
-
 /* 
  * Process kernel command line switches that are specific to the
  * SPARC or that require special low-level processing.
@@ -113,8 +107,7 @@ static void __init process_switch(char c)
                prom_halt();
                break;
        case 'p':
-               /* Use PROM debug console. */
-               register_console(&prom_debug_console);
+               /* Just ignore, this behavior is now the default.  */
                break;
        case 'P':
                /* Force UltraSPARC-III P-Cache on. */
@@ -297,6 +290,9 @@ void __init setup_arch(char **cmdline_p)
        *cmdline_p = prom_getbootargs();
        strcpy(boot_command_line, *cmdline_p);
 
+       boot_flags_init(*cmdline_p);
+       register_console(&prom_early_console);
+
        if (tlb_type == hypervisor)
                printk("ARCH: SUN4V\n");
        else
@@ -308,8 +304,6 @@ void __init setup_arch(char **cmdline_p)
        conswitchp = &prom_con;
 #endif
 
-       boot_flags_init(*cmdline_p);
-
        idprom_init();
 
        if (!root_flags)
This page took 0.028704 seconds and 5 git commands to generate.