rcu: Refactor #includes from include/linux/rcupdate.h
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 3 May 2017 22:24:25 +0000 (15:24 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Jun 2017 01:52:37 +0000 (18:52 -0700)
commit5f192ab027a5d865be24c817005d42eb96314dc2
tree0144c67df074b584c603f0d18de05a00bce227e3
parent0cb5133ab573d1c471cfcfa632b0260a5aad5303
rcu: Refactor #includes from include/linux/rcupdate.h

The list of #includes from include/linux/rcupdate.h has grown quite
a bit, so it is time to trim it.  This commit moves the #include
of include/linux/ktime.h to include/linux/rcutiny.h, along with the
Tiny-RCU-only function that was the only thing needing ktimem.h.  It then
reconstructs the files included into include/linux/ktime.h based on what
is actually needed, with significant help from the 0day Test Robot.

This single change reduces the .i file footprint from rcupdate.h from
9018 lines to 7101 lines.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h
include/linux/rcutiny.h