Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247897
b: refs/heads/master
c: 7671fa2
h: refs/heads/master
i:
  247895: d44fb39
v: v3
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Apr 21, 2011
1 parent 9f3b1dd commit 892d6bc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9c2853af1fcbe01a123d666aa373e99119148ee6
refs/heads/master: 7671fa22af7a8a066663d93117c866672bd211c8
2 changes: 1 addition & 1 deletion trunk/arch/sparc/kernel/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ int cpu_get_hwmid(phandle prom_node)

void __init device_scan(void)
{
prom_printf("Booting Linux...\n");
printk(KERN_NOTICE "Booting Linux...\n");

#ifndef CONFIG_SMP
{
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sparc/kernel/prom_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ void __init of_console_init(void)
of_console_options = NULL;
}

prom_printf(msg, of_console_path);
printk(msg, of_console_path);
}

Expand Down
14 changes: 8 additions & 6 deletions trunk/arch/sparc/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ prom_console_write(struct console *con, const char *s, unsigned n)
prom_write(s, n);
}

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,
};

Expand All @@ -133,8 +133,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;
default:
printk("Unknown boot switch (-%c)\n", c);
Expand Down Expand Up @@ -215,6 +214,10 @@ void __init setup_arch(char **cmdline_p)
strcpy(boot_command_line, *cmdline_p);
parse_early_param();

boot_flags_init(*cmdline_p);

register_console(&prom_early_console);

/* Set sparc_cpu_model */
sparc_cpu_model = sun_unknown;
if (!strcmp(&cputypval[0], "sun4 "))
Expand Down Expand Up @@ -265,7 +268,6 @@ void __init setup_arch(char **cmdline_p)
#ifdef CONFIG_DUMMY_CONSOLE
conswitchp = &dummy_con;
#endif
boot_flags_init(*cmdline_p);

idprom_init();
if (ARCH_SUN4C)
Expand Down

0 comments on commit 892d6bc

Please sign in to comment.