aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-08-11 11:39:15 +0200
committerLinus Walleij <linus.walleij@linaro.org>2019-07-23 09:16:30 +0200
commit372ca642af7c79a8737e5e7be6d7b617ff61bff1 (patch)
tree9db311bad8dda991ca3e0bf06b49d884706cf563
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadlinux-stericsson-earlydebug.tar.gz
Uglygack for earlydebug printasciiearlydebug
-rw-r--r--init/main.c7
-rw-r--r--kernel/printk/printk.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index 96f8d5af52d6..e478939ee81e 100644
--- a/init/main.c
+++ b/init/main.c
@@ -581,6 +581,13 @@ asmlinkage __visible void __init start_kernel(void)
smp_setup_processor_id();
debug_objects_early_init();
+#ifdef CONFIG_ARM
+ {
+ extern void printascii(char *);
+ printascii("start_kernel\n");
+ }
+#endif
+
cgroup_init_early();
local_irq_disable();
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 1888f6a3b694..f1991ac52e22 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -1912,6 +1912,13 @@ int vprintk_store(int facility, int level,
lflags |= LOG_NEWLINE;
}
+#ifdef CONFIG_ARM
+ {
+ extern void printascii(char *);
+ printascii(textbuf);
+ }
+#endif
+
/* strip kernel syslog prefix and extract log level or control flags */
if (facility == 0) {
int kern_level;