diff options
author | Corey Minyard <minyard@acm.org> | 2007-02-10 01:45:42 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:31 -0800 |
commit | 3678d62f028689abc8ac5693b254e48f605f94ba (patch) | |
tree | 7a897ae6d308411586c274e23f940b4d280b7ff1 /net/tipc/ref.h | |
parent | 16cf5b39b81b95d1e3d81df3ba8c82cadf54f551 (diff) |
[PATCH] add an RCU version of list splicing
This patch is in support of the IPMI driver. I have tested this with the
IPMI driver changes coming in the next patch.
Add a list_splice_init_rcu() function to splice an RCU-protected list into
another list. This takes the sync function as an argument, so one would do
something like:
INIT_LIST_HEAD(&list);
list_splice_init_rcu(&source, &dest, synchronize_rcu);
The idea being to keep the RCU API proliferation down to a dull roar.
[akpm@osdl.org: build fix]
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/tipc/ref.h')
0 files changed, 0 insertions, 0 deletions