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>2020-04-14 10:10:29 +0200
commit31d4c90d80a321a146f4d7130e9a3bb6a39476fe (patch)
tree3c166fbe572096a9cc9017926b1df0ed4c46910e
parent8f3d9f354286745c751374f5f1fcafee6b3f3136 (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 a48617f2e5e5..df2911410ac0 100644
--- a/init/main.c
+++ b/init/main.c
@@ -797,6 +797,13 @@ asmlinkage __visible void __init start_kernel(void)
smp_setup_processor_id();
debug_objects_early_init();
+#if defined(CONFIG_ARM) && defined(CONFIG_DEBUG_LL)
+ {
+ 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 9a9b6156270b..b997686a50eb 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -1947,6 +1947,13 @@ int vprintk_store(int facility, int level,
lflags |= LOG_NEWLINE;
}
+#if defined(CONFIG_ARM) && defined(CONFIG_DEBUG_LL)
+ {
+ extern void printascii(char *);
+ printascii(textbuf);
+ }
+#endif
+
/* strip kernel syslog prefix and extract log level or control flags */
if (facility == 0) {
int kern_level;