printk: Fix "printk: Enable the use of more than one CON_BOOT (early console)"
authorSonic Zhang <Sonic.Zhang@analog.com>
Thu, 6 Aug 2009 22:58:11 +0000 (15:58 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 Aug 2009 16:27:37 +0000 (18:27 +0200)
commit42c2c8c854a716b05882a122632ddcd6dbe108f1
tree982192ec05b5be92a33f52c6e145cfafcdb43395
parent1aaad49e856ce41adc07d8ae0c8ef35fc4483245
printk: Fix "printk: Enable the use of more than one CON_BOOT (early console)"

Don't return when we find the first bootconsole - it can leave
other bootconsoles still installed, and they can be used and
cause problems later (if they are in the init section, and
eventually released), and cause problems.  Make sure we remove
all of them.

Signed-off-by: Sonic Zhang <Sonic.Zhang@analog.com>
Signed-off-by: Robin Getz <rgetz@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/printk.c