aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;