From: John Z. Bohach Date: Fri, 24 Mar 2006 11:18:19 +0000 (-0800) Subject: [PATCH] console_setup() depends (wrongly?) on CONFIG_PRINTK X-Git-Tag: v2.6.17-rc1~893 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ea1c5392cc8ce249fb661db4f4cdfbbae373a89;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed