* [PATCH]: Definition for loglevel in KERN_OOPS
@ 2013-05-29 0:00 Christopher Sacchi
2013-05-29 0:11 ` Valdis.Kletnieks
0 siblings, 1 reply; 2+ messages in thread
From: Christopher Sacchi @ 2013-05-29 0:00 UTC (permalink / raw)
To: linux-kernel
This patch is for linux-3.10-rc2 and adds the definition for
KERN_OOPS (it can be used for whenever kernel oops occur) in
<linux/kern_loglevel.h> for <linux/printk.h>. It is below the
double-dashes.
--
Signed-off-by: Christopher P. Sacchi <christophersacchi@gmail.com>
--- include/linux/kern_levels.h 2013-05-20 17:38.000000000 -0400
+++ include/linux/kern_levels.h 2013-05-28 18:24:22.416100843 -0400
@@ -12,7 +12,7 @@
#define KERN_NOTICE KERN_SOH "5" /* normal but
significant condition */
#define KERN_INFO KERN_SOH "6" /* informational */
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
-
+#define KERN_OOPS KERN_SOH "2" /* kernel oops condition */
#define KERN_DEFAULT KERN_SOH "d" /* the default kernel
loglevel */
/*
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-29 0:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-29 0:00 [PATCH]: Definition for loglevel in KERN_OOPS Christopher Sacchi
2013-05-29 0:11 ` Valdis.Kletnieks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®