You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
440 B
25 lines
440 B
10 years ago
|
--- a/kernel/printk.c
|
||
|
+++ b/kernel/printk.c
|
||
|
@@ -48,6 +48,10 @@
|
||
|
|
||
|
#include <asm/uaccess.h>
|
||
|
|
||
|
+#ifdef CONFIG_DEBUG_LL
|
||
|
+extern void printascii(char *);
|
||
|
+#endif /* CONFIG_DEBUG_LL */
|
||
|
+
|
||
|
#define CREATE_TRACE_POINTS
|
||
|
#include <trace/events/printk.h>
|
||
|
|
||
|
@@ -1578,6 +1582,10 @@ asmlinkage int vprintk_emit(int facility
|
||
|
}
|
||
|
}
|
||
|
|
||
|
+#ifdef CONFIG_DEBUG_LL
|
||
|
+ printascii(printk_buf);
|
||
|
+#endif
|
||
|
+
|
||
|
if (level == -1)
|
||
|
level = default_message_loglevel;
|
||
|
|