Oleg Nesterov 008208c6b2 list: introduce list_next_entry() and list_prev_entry()
Add two trivial helpers list_next_entry() and list_prev_entry(), they
can have a lot of users including list.h itself.  In fact the 1st one is
already defined in events/core.c and bnx2x_sp.c, so the patch simply
moves the definition to list.h.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-11-13 12:09:23 +09:00
..
2013-11-12 14:47:00 +09:00
2013-10-19 13:05:38 -07:00
2013-10-28 14:39:03 -07:00
2013-11-11 17:05:37 +09:00
2013-09-26 20:47:25 -07:00
2013-11-07 15:07:58 +09:00
2013-11-12 15:01:39 +09:00
2013-11-12 15:29:53 +09:00
2013-10-19 13:05:38 -07:00
2013-10-24 16:18:40 +01:00
2013-11-12 15:29:53 +09:00
2013-09-27 14:15:27 +02:00
2013-10-29 16:58:18 -07:00