The patch titled add-warn_on_secs-macro simplification has been removed from the -mm tree. Its filename was add-warn_on_secs-macro-simplification.patch This patch was dropped because it was folded into add-warn_on_secs-macro.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: add-warn_on_secs-macro simplification From: Dave Young <hidave.darkstar@xxxxxxxxx> Change to the concise version as suggestion of Johannes Weiner. Signed-off-by: Dave Young <hidave.darkstar@xxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxxx> Cc: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-generic/bug.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff -puN include/asm-generic/bug.h~add-warn_on_secs-macro-simplification include/asm-generic/bug.h --- a/include/asm-generic/bug.h~add-warn_on_secs-macro-simplification +++ a/include/asm-generic/bug.h @@ -76,13 +76,8 @@ extern void warn_on_slowpath(const char unlikely(__ret_warn_once); \ }) -#define WARN_ON_SECS(condition, secs) ({ \ - int __ret_warn_on = !!(condition); \ - if (unlikely(__ret_warn_on)) \ - if (__ratelimit(secs * HZ, 1)) \ - WARN_ON(1); \ - unlikely(__ret_warn_on); \ -}) +#define WARN_ON_SECS(condition, secs) \ + WARN_ON((condition && __ratelimit(secs * HZ, 1))) #ifdef CONFIG_SMP # define WARN_ON_SMP(x) WARN_ON(x) _ Patches currently in -mm which might be from hidave.darkstar@xxxxxxxxx are origin.patch isolate-ratelimit-from-printkc-for-other-use.patch add-warn_on_secs-macro.patch add-warn_on_secs-macro-simplification.patch add-warn_on_secs-macro-simplification-fix.patch add-warn_on_secs-macro-simplification-fix-fix.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