From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- .../pxa/patches-3.3/a01-arm-debugll-printk.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch (limited to 'target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch') diff --git a/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch b/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch new file mode 100644 index 0000000..f1bf48d --- /dev/null +++ b/target/linux/pxa/patches-3.3/a01-arm-debugll-printk.patch @@ -0,0 +1,24 @@ +--- a/kernel/printk.c ++++ b/kernel/printk.c +@@ -44,6 +44,10 @@ + + #include + ++#ifdef CONFIG_DEBUG_LL ++extern void printascii(char *); ++#endif /* CONFIG_DEBUG_LL */ ++ + /* + * Architectures can override it: + */ +@@ -900,6 +904,10 @@ asmlinkage int vprintk(const char *fmt, + } + } + ++#ifdef CONFIG_DEBUG_LL ++ printascii(printk_buf); ++#endif ++ + /* + * Copy the output into log_buf. If the caller didn't provide + * the appropriate log prefix, we insert them here -- cgit v1.2.3