diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-28 18:34:14 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-28 18:34:14 -0400 |
commit | 38a6ed3ed8e108b662f4016a1ebf068dcf4c1ef4 (patch) | |
tree | a83d5e4e86edf6cb2de22db6f2ff2274753a2bab /include/linux/kernel.h | |
parent | f2d28a2ebcb525a6ec7e2152106ddb385ef52b73 (diff) | |
parent | 7c730ccdc1188b97f5c8cb690906242c7ed75c22 (diff) |
Merge branch 'linus' into core/printk
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 2755165bb291..6e4406e12c6b 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/log2.h> | 16 | #include <linux/log2.h> |
17 | #include <linux/typecheck.h> | 17 | #include <linux/typecheck.h> |
18 | #include <linux/ratelimit.h> | 18 | #include <linux/ratelimit.h> |
19 | #include <linux/dynamic_printk.h> | 19 | #include <linux/dynamic_debug.h> |
20 | #include <asm/byteorder.h> | 20 | #include <asm/byteorder.h> |
21 | #include <asm/bug.h> | 21 | #include <asm/bug.h> |
22 | 22 | ||
@@ -375,9 +375,10 @@ static inline char *pack_hex_byte(char *buf, u8 byte) | |||
375 | #if defined(DEBUG) | 375 | #if defined(DEBUG) |
376 | #define pr_debug(fmt, ...) \ | 376 | #define pr_debug(fmt, ...) \ |
377 | printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) | 377 | printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) |
378 | #elif defined(CONFIG_DYNAMIC_PRINTK_DEBUG) | 378 | #elif defined(CONFIG_DYNAMIC_DEBUG) |
379 | /* dynamic_pr_debug() uses pr_fmt() internally so we don't need it here */ | ||
379 | #define pr_debug(fmt, ...) do { \ | 380 | #define pr_debug(fmt, ...) do { \ |
380 | dynamic_pr_debug(pr_fmt(fmt), ##__VA_ARGS__); \ | 381 | dynamic_pr_debug(fmt, ##__VA_ARGS__); \ |
381 | } while (0) | 382 | } while (0) |
382 | #else | 383 | #else |
383 | #define pr_debug(fmt, ...) \ | 384 | #define pr_debug(fmt, ...) \ |