From: Joe Perches Date: Sat, 21 May 2011 07:48:39 +0000 (+0000) Subject: bug.h: Add WARN_RATELIMIT X-Git-Tag: v3.0-rc1~147^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3eec79b0776e5340a3db75b34953977c7e5086e;p=pandora-kernel.git bug.h: Add WARN_RATELIMIT 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed