rcu: split list.h and move rcu-protected lists into rculist.h
authorFranck Bui-Huu <fbuihuu@gmail.com>
Mon, 12 May 2008 19:21:05 +0000 (21:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 19 May 2008 08:01:37 +0000 (10:01 +0200)
commit82524746c27fa418c250a56dd7606b9d3fc79826
tree1801230b8fc2e436e722ac6f54fc53f1c112c310
parent32300751b4079cb5688453baa94711579d4285d5
rcu: split list.h and move rcu-protected lists into rculist.h

Move rcu-protected lists from list.h into a new header file rculist.h.

This is done because list are a very used primitive structure all over the
kernel and it's currently impossible to include other header files in this
list.h without creating some circular dependencies.

For example, list.h implements rcu-protected list and uses rcu_dereference()
without including rcupdate.h.  It actually compiles because users of
rcu_dereference() are macros.  Others RCU functions could be used too but
aren't probably because of this.

Therefore this patch creates rculist.h which includes rcupdates without to
many changes/troubles.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Josh Triplett <josh@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
15 files changed:
arch/ia64/sn/kernel/irq.c
crypto/async_tx/async_tx.c
drivers/infiniband/hw/ipath/ipath_verbs.c
drivers/infiniband/hw/ipath/ipath_verbs_mcast.c
drivers/net/macvlan.c
include/linux/dcache.h
include/linux/list.h
include/linux/rculist.h [new file with mode: 0644]
kernel/pid.c
lib/textsearch.c
net/802/psnap.c
net/8021q/vlan.c
net/bridge/br_fdb.c
net/bridge/br_stp.c
net/netlabel/netlabel_domainhash.c