diff options
author | Jiri Pirko <jpirko@redhat.com> | 2009-04-14 17:33:57 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-14 18:41:15 +0200 |
commit | 72c6a9870f901045f2464c3dc6ee8914bfdc07aa (patch) | |
tree | 8bd683fea5f20b17dab613ed8864c016e7b5d369 /security/integrity/ima | |
parent | rcu: Update RCU tracing documentation for __rcu_pending (diff) | |
download | linux-72c6a9870f901045f2464c3dc6ee8914bfdc07aa.tar.xz linux-72c6a9870f901045f2464c3dc6ee8914bfdc07aa.zip |
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 <jpirko@redhat.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: dipankar@in.ibm.com
LKML-Reference: <20090414153356.GC3999@psychotron.englab.brq.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'security/integrity/ima')
0 files changed, 0 insertions, 0 deletions