]> rtime.felk.cvut.cz Git - linux-imx.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)
commitf7be4e754b61681467f873400cbaa42a013b8973
treea69c286445484802127aaf6552755e53867229c3
parent1e7decdb27ae89b2a0626635a8cf527f930bff1c
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