The patch titled add WARN_ON_SECS macro has been removed from the -mm tree. Its filename was add-warn_on_secs-macro.patch This patch was dropped because it is obsolete The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: add WARN_ON_SECS macro From: Dave Young <hidave.darkstar@xxxxxxxxx> Add WARN_ON_SECS macro for some serious cases which need to repeat the warnings, but with some ratelimiting. [akpm@xxxxxxxxxxxxxxxxxxxx: fix a few things] Signed-off-by: Dave Young <hidave.darkstar@xxxxxxxxx> Acked-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> Tested-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-generic/bug.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN include/asm-generic/bug.h~add-warn_on_secs-macro include/asm-generic/bug.h --- a/include/asm-generic/bug.h~add-warn_on_secs-macro +++ a/include/asm-generic/bug.h @@ -2,6 +2,7 @@ #define _ASM_GENERIC_BUG_H #include <linux/compiler.h> +#include <linux/param.h> #ifdef CONFIG_BUG @@ -75,6 +76,9 @@ extern void warn_on_slowpath(const char unlikely(__ret_warn_once); \ }) +#define WARN_ON_SECS(condition, secs) \ + WARN_ON((condition) && __ratelimit((secs) * HZ, 1)) + #ifdef CONFIG_SMP # define WARN_ON_SMP(x) WARN_ON(x) #else _ Patches currently in -mm which might be from hidave.darkstar@xxxxxxxxx are add-time_is_after_jiffies-and-others-which-compare-with-jiffies.patch printk-ratelimiting-rewrite.patch add-warn_on_secs-macro.patch use-warn_on_secs-in-rcupreempth.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