diff options
author | Jiri Pirko <[email protected]> | 2009-04-14 17:33:57 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-04-14 18:41:15 +0200 |
commit | 72c6a9870f901045f2464c3dc6ee8914bfdc07aa (patch) | |
tree | 8bd683fea5f20b17dab613ed8864c016e7b5d369 /net/lapb/lapb_iface.c | |
parent | 6fd9b3a40b82081d9e6490b0d7cd656e9a78a134 (diff) |
rculist.h: introduce list_entry_rcu() and list_first_entry_rcu()
I've run into the situation where I need to use list_first_entry with
rcu-guarded list. This patch introduces this.
Also simplify list_for_each_entry_rcu() to use new list_entry_rcu()
instead of list_entry().
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Paul E. McKenney <[email protected]>
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions