git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8efa885
)
bug.h: Add WARN_RATELIMIT
author
Joe Perches
<joe@perches.com>
Sat, 21 May 2011 07:48:39 +0000
(07:48 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 23 May 2011 21:37:43 +0000
(17:37 -0400)
Add a generic mechanism to ratelimit WARN(foo, fmt, ...) messages
using a hidden per call site static struct ratelimit_state.
Also add an __WARN_RATELIMIT variant to be able to use a specific
struct ratelimit_state.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found