]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Move rcu_head definition to types.h
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 1 Jun 2011 04:03:55 +0000 (21:03 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 10 Aug 2011 02:28:24 +0000 (19:28 -0700)
commitcd6f1bdc2b8f1c37bde9cff97cca531df8e3224d
treec7da312467c7101ec83139fad62325821e13c83b
parent40476150d1d1efb1a66e10656ea184f4760ea629
rcu: Move rcu_head definition to types.h

Take a first step towards untangling Linux kernel header files by
placing the struct rcu_head definition into include/linux/types.h
and including include/linux/types.h in include/linux/rcupdate.h
where struct rcu_head used to be defined.  The actual inclusion point
for include/linux/types.h is with the rest of the #include directives
rather than at the point where struct rcu_head used to be defined,
as suggested by Mathieu Desnoyers.

Once this is in place, then header files that need only rcu_head
can include types.h rather than rcupdate.h.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/linux/rcupdate.h
include/linux/types.h