summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson1
diff options
context:
space:
mode:
authorAaro Koskinen2013-02-11 21:51:49 +0100
committerJohn Crispin2013-02-19 09:36:37 +0100
commitf7be4e754b61681467f873400cbaa42a013b8973 (patch)
treea69c286445484802127aaf6552755e53867229c3 /arch/mips/loongson1
parentMIPS: Probe for and report hardware virtualization support. (diff)
downloadkernel-qcow2-linux-f7be4e754b61681467f873400cbaa42a013b8973.tar.gz
kernel-qcow2-linux-f7be4e754b61681467f873400cbaa42a013b8973.tar.xz
kernel-qcow2-linux-f7be4e754b61681467f873400cbaa42a013b8973.zip
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>
Diffstat (limited to 'arch/mips/loongson1')
-rw-r--r--arch/mips/loongson1/common/prom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson1/common/prom.c b/arch/mips/loongson1/common/prom.c
index 1f8e49f9886d..54dee09b36cd 100644
--- a/arch/mips/loongson1/common/prom.c
+++ b/arch/mips/loongson1/common/prom.c
@@ -73,7 +73,7 @@ void __init prom_free_prom_memory(void)
#define PORT(offset) (u8 *)(KSEG1ADDR(LS1X_UART0_BASE + offset))
-void __init prom_putchar(char c)
+void prom_putchar(char c)
{
int timeout;