summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/console.c2
-rw-r--r--common/console_simple.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/common/console.c b/common/console.c
index b4b3a9997f..2e8c9730e1 100644
--- a/common/console.c
+++ b/common/console.c
@@ -32,6 +32,7 @@
#include <poller.h>
#include <linux/list.h>
#include <linux/stringify.h>
+#include <debug_ll.h>
LIST_HEAD(console_list);
EXPORT_SYMBOL(console_list);
@@ -280,6 +281,7 @@ void console_putc(unsigned int ch, char c)
case CONSOLE_INITIALIZED_BUFFER:
kfifo_putc(console_output_fifo, c);
+ PUTC_LL(c);
return;
case CONSOLE_INIT_FULL:
diff --git a/common/console_simple.c b/common/console_simple.c
index 7ad88d9a99..a4d4315c72 100644
--- a/common/console_simple.c
+++ b/common/console_simple.c
@@ -2,6 +2,7 @@
#include <common.h>
#include <fs.h>
#include <errno.h>
+#include <debug_ll.h>
LIST_HEAD(console_list);
EXPORT_SYMBOL(console_list);
@@ -85,8 +86,10 @@ EXPORT_SYMBOL(console_puts);
void console_putc(unsigned int ch, char c)
{
- if (!console)
+ if (!console) {
+ PUTC_LL(c);
return;
+ }
console->putc(console, c);
if (c == '\n')