[PATCH]: Definition for loglevel in KERN_OOPS

From: Christopher Sacchi
Date: Tue May 28 2013 - 20:01:12 EST


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@xxxxxxxxx>
--- 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 */

/*
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/