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>2018-11-05 09:37:24 +0100
commitd651322316cbd4dc0dfacc2d63651dc4893eaa3e (patch)
tree1a3403d65eebf42f9da59265f2a524c973032102
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-stericsson-earlydebug.tar.gz
uglyhack 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 ee147103ba1b..5067930b276d 100644
--- a/init/main.c
+++ b/init/main.c
@@ -543,6 +543,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 1b2a029360b7..8acfe30c55f0 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -1849,6 +1849,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;