lkml.org 
[lkml]   [2012]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/5] printk: Convert pr_devel to use eliminated_printk
Date
Make sure there are no side effects to pr_devel uses.

Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/printk.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/printk.h b/include/linux/printk.h
index 84aa910..628054f 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -207,7 +207,7 @@ extern void dump_stack(void) __cold;
printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
#else
#define pr_devel(fmt, ...) \
- no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
+ eliminated_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
#endif

/* If you are writing a driver, please use dev_dbg instead */
--
1.7.8.111.gad25c.dirty


\
 
 \ /
  Last update: 2012-06-18 05:21    [W:0.091 / U:1.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site