summaryrefslogtreecommitdiffstats
path: root/include/printk.h
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2016-03-17 11:00:22 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-08 13:33:18 +0200
commit0fcefdd9369050f35a88b41dcd42cc5a3c6c6b33 (patch)
treed9cb51a55916153b5c284f80691181979c08367f /include/printk.h
parentf01ed88aac0d36c64ea82a28317a945de418742f (diff)
downloadbarebox-0fcefdd9369050f35a88b41dcd42cc5a3c6c6b33.tar.gz
barebox-0fcefdd9369050f35a88b41dcd42cc5a3c6c6b33.tar.xz
printk: Add pr_cont
This is needed by upcoming UBIFS update. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/printk.h')
-rw-r--r--include/printk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/printk.h b/include/printk.h
index 4b76ca10b2..f62e57d956 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -91,6 +91,7 @@ static inline int pr_print(int level, const char *format, ...)
#define pr_debug(fmt, arg...) __pr_printk(7, pr_fmt(fmt), ##arg)
#define debug(fmt, arg...) __pr_printk(7, pr_fmt(fmt), ##arg)
#define pr_vdebug(fmt, arg...) __pr_printk(8, pr_fmt(fmt), ##arg)
+#define pr_cont(fmt, arg...) __pr_printk(0, pr_fmt(fmt), ##arg)
#define printk_once(fmt, ...) \
({ \