[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1247404801.6733.0.camel@laptop>
Date: Sun, 12 Jul 2009 15:20:01 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Cyrill Gorcunov <gorcunov@...il.com>, Ingo Molnar <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [rfc -tip] lib,rb-tree - introduce rb_for_each helper
On Sun, 2009-07-12 at 00:29 +0200, Frederic Weisbecker wrote:
> #define rb_for_each_entry(tpos, pos, root, memb) \
> for (pos = rb_first(root); pos && tpos = rb_entry(pos, typeof(*tpos), memb); \
> pos = rb_next(pos->memb, typeof(*pos), memb))
if you really want to do this, then at least call it:
for_each_rb_entry().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists