rcu: Flag need for rcu_node_tree.h and rcu_segcblist.h visibility
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 2 May 2017 16:39:09 +0000 (09:39 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Jun 2017 01:52:26 +0000 (18:52 -0700)
commitaaaad0bfac019bb7701f92ebc1b31b4f85e47b55
treeffed90fcb1e491863c23cb87ee4514beff8c2121
parent6b5fc3a1331810db407c9e0e673dc1837afdc9d0
rcu: Flag need for rcu_node_tree.h and rcu_segcblist.h visibility

The rcu_node_tree.h and rcu_segcblist.h header files in the include/linux
directory might appear at first sight to be internal to the RCU
implementation.  However, the definitions in these files are needed to
determine the size of TREE SRCU's srcu_struct structure, so they must
be externally visible, which is why they live in include/linux.

This commit adds comments to this effect to those files.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcu_node_tree.h
include/linux/rcu_segcblist.h