![Lai Jiangshan](/assets/img/avatar_default.png)
Currently PREEMPT_RCU and TREE_RCU are mutually exclusive Kconfig options. But PREEMPT_RCU actually specifies a kind of TREE_RCU, namely a preemptible TREE_RCU. This commit therefore makes PREEMPT_RCU be a modifer to the TREE_RCU Kconfig option. This has the benefit of simplifying several of the #if expressions that formerly needed to check both, but now need only check one or the other. Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com> Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
14 lines
480 B
Makefile
14 lines
480 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Any varying coverage in these files is non-deterministic
|
|
# and is generally not a function of system call inputs.
|
|
KCOV_INSTRUMENT := n
|
|
|
|
obj-y += update.o sync.o
|
|
obj-$(CONFIG_TREE_SRCU) += srcutree.o
|
|
obj-$(CONFIG_TINY_SRCU) += srcutiny.o
|
|
obj-$(CONFIG_RCU_TORTURE_TEST) += rcutorture.o
|
|
obj-$(CONFIG_RCU_PERF_TEST) += rcuperf.o
|
|
obj-$(CONFIG_TREE_RCU) += tree.o
|
|
obj-$(CONFIG_TINY_RCU) += tiny.o
|
|
obj-$(CONFIG_RCU_NEED_SEGCBLIST) += rcu_segcblist.o
|