diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2009-03-31 15:23:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 08:59:18 -0700 |
commit | 311d07611e8b354cc1ee6546e4c574c01111adc8 (patch) | |
tree | ec9cf9a12527a2239163b06ec61bad76ac2abadd /include/linux/kernel.h | |
parent | acdd052a285a7b4cc7da4fa7d34ef9fd0a67b2f8 (diff) | |
download | kernel_samsung_smdk4412-311d07611e8b354cc1ee6546e4c574c01111adc8.zip kernel_samsung_smdk4412-311d07611e8b354cc1ee6546e4c574c01111adc8.tar.gz kernel_samsung_smdk4412-311d07611e8b354cc1ee6546e4c574c01111adc8.tar.bz2 |
introduce pr_cont() macro
We cover all log-levels by pr_... macros except KERN_CONT one. Add it
for convenience.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index f81d80f..e720b0d 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -353,6 +353,8 @@ static inline char *pack_hex_byte(char *buf, u8 byte) printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) #define pr_info(fmt, ...) \ printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) +#define pr_cont(fmt, ...) \ + printk(KERN_CONT fmt, ##__VA_ARGS__) /* If you are writing a driver, please use dev_dbg instead */ #if defined(DEBUG) |