diff options
author | John Z. Bohach <jzb@aexorsyst.com> | 2006-03-24 03:18:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 07:33:27 -0800 |
commit | 2ea1c5392cc8ce249fb661db4f4cdfbbae373a89 (patch) | |
tree | 07e612d8e1e6c015f7da2702f2af4129e63db15c /include/linux/kdev_t.h | |
parent | 7e9dd124b90af80824754f68c0b246cfd0fb624b (diff) |
[PATCH] console_setup() depends (wrongly?) on CONFIG_PRINTK
It appears that console_setup() code only gets compiled into the kernel if
CONFIG_PRINTK is enabled. One detrimental side-effect of this is that
serial8250_console_setup() never gets invoked when CONFIG_PRINTK is not
set, resulting in baud rate not being read/parsed from command line (i.e.
console=ttyS0,115200n8 is ignored, at least the baud rate part...)
Attached patch moves console_setup() code from inside
#ifdef CONFIG_PRINTK
to outside (in printk.c), removing dependence on said config. option.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/kdev_t.h')
0 files changed, 0 insertions, 0 deletions