diff options
author | Andrew Morton <akpm@osdl.org> | 2006-11-03 09:07:16 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-11-03 23:27:58 +0300 |
commit | f46c483357c2d87606bbefb511321e3efd4baae0 (patch) | |
tree | e3276379337a56353cce051d8f7efbc87dc61fdb /include/asm-alpha/dma.h | |
parent | 7f6b8876c7e66b0d15af134e2a5b87e55514eb6d (diff) | |
download | linux-f46c483357c2d87606bbefb511321e3efd4baae0.tar.xz |
[PATCH] Add printk_timed_ratelimit()
printk_ratelimit() has global state which makes it not useful for callers
which wish to perform ratelimiting at a particular frequency.
Add a printk_timed_ratelimit() which utilises caller-provided state storage to
permit more flexibility.
This function can in fact be used for things other than printk ratelimiting
and is perhaps poorly named.
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-alpha/dma.h')
0 files changed, 0 insertions, 0 deletions