aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/Makefile
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-05-02 06:30:12 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-05-02 07:21:02 -0700
commit98059b98619d093366462ff0a4e1258e946accb9 (patch)
tree305b10fd41b962b42dbf88e5a8e05772b4aa7819 /kernel/rcu/Makefile
parentsrcu: Debloat the <linux/rcu_segcblist.h> header (diff)
downloadlinux-dev-98059b98619d093366462ff0a4e1258e946accb9.tar.xz
linux-dev-98059b98619d093366462ff0a4e1258e946accb9.zip
rcu: Separately compile large rcu_segcblist functions
This commit creates a new kernel/rcu/rcu_segcblist.c file that contains non-trivial segcblist functions. Trivial functions remain as static inline functions in kernel/rcu/rcu_segcblist.h Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/rcu/Makefile')
-rw-r--r--kernel/rcu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/Makefile b/kernel/rcu/Makefile
index 158e6593d58c..23803c7d5180 100644
--- a/kernel/rcu/Makefile
+++ b/kernel/rcu/Makefile
@@ -12,3 +12,4 @@ obj-$(CONFIG_TREE_RCU) += tree.o
obj-$(CONFIG_PREEMPT_RCU) += tree.o
obj-$(CONFIG_TREE_RCU_TRACE) += tree_trace.o
obj-$(CONFIG_TINY_RCU) += tiny.o
+obj-$(CONFIG_RCU_NEED_SEGCBLIST) += rcu_segcblist.o