lkml.org 
[lkml]   [2013]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH]: Kernel Oops Priority Level in <linux/printk.h>
From
Date
On Tue, 2013-05-28 at 18:08 -0400, Christopher Sacchi wrote:
> Here is a patch for linux-3.10-rc2 that adds a KERN_OOPS priority
> level as a handler for if a kernel oops occurs, (this priority can be
> used for a message to the kernel log,) and it is applied to
> linux/printk.h in the include directory. It has been checked and has 2
[]
> +++ include/linux/printk.h 2013-05-28 17:39:21.530055578 -0400
> @@ -395,4 +395,8 @@ static inline void print_hex_dump_bytes(
[]
> +/* Define an oops priority level. */
> +#define pr_oops(fmt, ...) \
> + printk(KERN_OOPS pr_fmt(fmt), ##__VA_ARGS__)
> +
> #endif

Why? Why not KERN_DEFAULT?
Where is KERN_OOPS #defined?




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