]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: early_printk: drop __init annotations
authorAaro Koskinen <aaro.koskinen@iki.fi>
Mon, 11 Feb 2013 20:51:49 +0000 (20:51 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 19 Feb 2013 08:36:37 +0000 (09:36 +0100)
commit221ad8c15e31425b59b04c4b2e15c08efe5d865d
treea69c286445484802127aaf6552755e53867229c3
parent60d3156a64ac70e8e22797b365a6eb30dbe58154
MIPS: early_printk: drop __init annotations

We cannot use __init for earlyprintk code or data, since the kernel
parameter "keep_bootcon" allows leaving the boot console enabled.

Currently MIPS will crash/hang/die if you use keep_bootcon. The patch
fixes it at least on Lemote FuLoong mini-PC. Changes for other boards
were done based on what I could find with grep...

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Patchwork: http://patchwork.linux-mips.org/patch/4935/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/bcm63xx/early_printk.c
arch/mips/kernel/early_printk.c
arch/mips/loongson1/common/prom.c
arch/mips/sgi-ip27/ip27-console.c
arch/mips/txx9/generic/setup.c