lkml.org 
[lkml]   [2013]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH]: Definition for loglevel in KERN_OOPS
From

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

/*
--

\
 
 \ /
  Last update: 2013-05-29 02:21    [W:0.026 / U:1.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site