diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index a2e7c32e17e7..ea8490d7020e 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -389,6 +389,7 @@ static inline char *pack_hex_byte(char *buf, u8 byte) | |||
389 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | 389 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) |
390 | #define pr_warning(fmt, ...) \ | 390 | #define pr_warning(fmt, ...) \ |
391 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | 391 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) |
392 | #define pr_warn pr_warning | ||
392 | #define pr_notice(fmt, ...) \ | 393 | #define pr_notice(fmt, ...) \ |
393 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) | 394 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) |
394 | #define pr_info(fmt, ...) \ | 395 | #define pr_info(fmt, ...) \ |
@@ -447,6 +448,7 @@ static inline char *pack_hex_byte(char *buf, u8 byte) | |||
447 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | 448 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) |
448 | #define pr_warning_ratelimited(fmt, ...) \ | 449 | #define pr_warning_ratelimited(fmt, ...) \ |
449 | printk_ratelimited(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) | 450 | printk_ratelimited(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) |
451 | #define pr_warn_ratelimited pr_warning_ratelimited | ||
450 | #define pr_notice_ratelimited(fmt, ...) \ | 452 | #define pr_notice_ratelimited(fmt, ...) \ |
451 | printk_ratelimited(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) | 453 | printk_ratelimited(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) |
452 | #define pr_info_ratelimited(fmt, ...) \ | 454 | #define pr_info_ratelimited(fmt, ...) \ |