aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorCorey Minyard <[email protected]>2007-02-10 09:45:42 +0000
committerLinus Torvalds <[email protected]>2007-02-11 18:51:31 +0000
commit3678d62f028689abc8ac5693b254e48f605f94ba (patch)
tree7a897ae6d308411586c274e23f940b4d280b7ff1 /lib/spinlock_debug.c
parent[PATCH] fix sparse warnings from {asm,net}/checksum.h (diff)
downloadkernel-3678d62f028689abc8ac5693b254e48f605f94ba.tar.gz
kernel-3678d62f028689abc8ac5693b254e48f605f94ba.zip
[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. [[email protected]: build fix] Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Corey Minyard <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions