Messages in this thread Patch in this message | | | Date | Tue, 28 May 2013 20:00:45 -0400 | Subject | [PATCH]: Definition for loglevel in KERN_OOPS | From | Christopher Sacchi <> |
| |
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 */
/* --
| |