diff options
author | Joe Perches <joe@perches.com> | 2009-12-14 18:00:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 08:53:26 -0800 |
commit | 8a64f336bc1d4aa203b138d29d5a9c414a9fbb47 (patch) | |
tree | 2614009dbe403eff3a35729e4b725469454faf06 /net/atm/br2684.c | |
parent | 2643434c1ad400dc417865ac37610e8d3c7c1783 (diff) | |
download | op-kernel-dev-8a64f336bc1d4aa203b138d29d5a9c414a9fbb47.zip op-kernel-dev-8a64f336bc1d4aa203b138d29d5a9c414a9fbb47.tar.gz |
kernel.h: add printk_ratelimited and pr_<level>_rl
Add a printk_ratelimited statement expression macro that uses a per-call
ratelimit_state so that multiple subsystems output messages are not
suppressed by a global __ratelimit state.
[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: s/_rl/_ratelimited/g]
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Naohiro Ooiwa <nooiwa@miraclelinux.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/atm/br2684.c')
0 files changed, 0 insertions, 0 deletions