The patch titled printk-ratelimiting-rewrite fix has been removed from the -mm tree. Its filename was printk-ratelimiting-rewrite-fix.patch This patch was dropped because it was folded into printk-ratelimiting-rewrite.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: printk-ratelimiting-rewrite fix From: Dave Young <hidave.darkstar@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/ratelimit.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff -puN include/linux/ratelimit.h~printk-ratelimiting-rewrite-fix include/linux/ratelimit.h --- a/include/linux/ratelimit.h~printk-ratelimiting-rewrite-fix +++ a/include/linux/ratelimit.h @@ -1,5 +1,9 @@ #ifndef _LINUX_RATELIMIT_H #define _LINUX_RATELIMIT_H +#include <linux/param.h> + +#define DEFAULT_RATELIMIT_INTERVAL (5 * HZ) +#define DEFAULT_RATELIMIT_BURST 10 struct ratelimit_state { int interval; @@ -11,10 +15,13 @@ struct ratelimit_state { #define DEFINE_RATELIMIT_STATE(name, interval, burst) \ struct ratelimit_state name = {interval, burst,} + extern int __ratelimit(struct ratelimit_state *rs); + static inline int ratelimit(void) { - static struct ratelimit_state rs; + static DEFINE_RATELIMIT_STATE(rs, DEFAULT_RATELIMIT_INTERVAL, + DEFAULT_RATELIMIT_BURST); return __ratelimit(&rs); } #endif _ Patches currently in -mm which might be from hidave.darkstar@xxxxxxxxx are origin.patch printk-ratelimiting-rewrite.patch printk-ratelimiting-rewrite-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html