diff options
Diffstat (limited to 'include/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 3fa4c590cf1..a93cdd031ae 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -397,9 +397,8 @@ static inline char *pack_hex_byte(char *buf, u8 byte)  	printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)  #elif defined(CONFIG_DYNAMIC_DEBUG)  /* dynamic_pr_debug() uses pr_fmt() internally so we don't need it here */ -#define pr_debug(fmt, ...) do { \ -	dynamic_pr_debug(fmt, ##__VA_ARGS__); \ -	} while (0) +#define pr_debug(fmt, ...) \ +	dynamic_pr_debug(fmt, ##__VA_ARGS__)  #else  #define pr_debug(fmt, ...) \  	({ if (0) printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); 0; })  |