diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-17 02:30:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:43:01 -0400 |
commit | 4749252776712e587c7c7619cbf0342b080c7f44 (patch) | |
tree | 559273ecbd56367d6e576ca005ef0994ec1c9e0c /include | |
parent | 1ad6ecf9146e85ccb4e0bce70b91a93f57145c72 (diff) |
printk: add KERN_CONT annotation
printk: add the KERN_CONT annotation (which is empty string but via
which checkpatch.pl can notice that the lacking KERN_ level is fine).
This useful for multiple calls of hand-crafted printk output done by
early debug code or similar.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kernel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index b2ea36e5b6b9..94bc99656963 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -76,6 +76,13 @@ extern const char linux_proc_banner[]; | |||
76 | #define KERN_INFO "<6>" /* informational */ | 76 | #define KERN_INFO "<6>" /* informational */ |
77 | #define KERN_DEBUG "<7>" /* debug-level messages */ | 77 | #define KERN_DEBUG "<7>" /* debug-level messages */ |
78 | 78 | ||
79 | /* | ||
80 | * Annotation for a "continued" line of log printout (only done after a | ||
81 | * line that had no enclosing \n). Only to be used by core/arch code | ||
82 | * during early bootup (a continued line is not SMP-safe otherwise). | ||
83 | */ | ||
84 | #define KERN_CONT "" | ||
85 | |||
79 | extern int console_printk[]; | 86 | extern int console_printk[]; |
80 | 87 | ||
81 | #define console_loglevel (console_printk[0]) | 88 | #define console_loglevel (console_printk[0]) |