diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-03-21 17:14:43 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-03-21 17:14:43 +0000 |
commit | 7d51a3b9744d80cab8198f058a2e76fdbb4ed751 (patch) | |
tree | fd7b73dd18598d4ccde321703b59748e7bf84910 | |
parent | 360a9f542dc2eb7f07037b0a2ee988408bb665a8 (diff) |
Two more printk macros: NOTICE
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8360 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r-- | include/dahdi/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 19378e4..42a59d9 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -1244,8 +1244,12 @@ wait_for_completion_timeout(struct completion *x, unsigned long timeout) #define dahdi_err(fmt, ...) DAHDI_PRINTK(ERR, "", fmt, ## __VA_ARGS__) #define span_info(span, fmt, ...) span_printk(INFO, "", span, fmt, \ ## __VA_ARGS__) +#define span_notice(span, fmt, ...) span_printk(NOTICE, "", span, fmt, \ + ## __VA_ARGS__) #define span_err(span, fmt, ...) span_printk(ERR, "", span, fmt, \ ## __VA_ARGS__) +#define chan_notice(span, fmt, ...) chan_printk(NOTICE, "", chan, fmt, \ + ## __VA_ARGS__) #define chan_err(chan, fmt, ...) chan_printk(ERR, "", chan, fmt, \ ## __VA_ARGS__) |