Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18019
b: refs/heads/master
c: 2a2d592
h: refs/heads/master
i:
  18017: dec0284
  18015: 6cfd7d5
v: v3
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Jan 12, 2006
1 parent c91c9f5 commit 5f1d0b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 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: 4092bdebab46235d69fcd68afc710cddad550892
refs/heads/master: 2a2d5924c249e0f73aa00d617f8d5e242ea1430d
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@ void __init setup_arch(char **cmdline_p)
if (s) {
extern void setup_early_printk(char *);

setup_early_printk(s);
setup_early_printk(strchr(s, '=') + 1);
printk("early console enabled\n");
}
}
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/x86_64/kernel/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void early_printk(const char *fmt, ...)
va_end(ap);
}

static int keep_early;
static int __initdata keep_early;

int __init setup_early_printk(char *opt)
{
Expand All @@ -226,8 +226,6 @@ int __init setup_early_printk(char *opt)
if (early_console_initialized)
return -1;

opt = strchr(opt, '=') + 1;

strlcpy(buf,opt,sizeof(buf));
space = strchr(buf, ' ');
if (space)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/head64.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void __init x86_64_start_kernel(char * real_mode_data)
#endif
s = strstr(saved_command_line, "earlyprintk=");
if (s != NULL)
setup_early_printk(s);
setup_early_printk(strchr(s, '=') + 1);
#ifdef CONFIG_NUMA
s = strstr(saved_command_line, "numa=");
if (s != NULL)
Expand Down

0 comments on commit 5f1d0b6

Please sign in to comment.