diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-03-16 00:51:20 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-04-27 21:03:51 +0300 |
commit | 8fd8ca388ccf233b8ae0b6b42ddc7caa5034ae85 (patch) | |
tree | 5ead3eba97e4fb7f0c134d9f066cf24926cc3647 /kernel/rcu/update.c | |
parent | 4593e772b5020e714e18f6e212d70b24fbe88b79 (diff) | |
download | linux-8fd8ca388ccf233b8ae0b6b42ddc7caa5034ae85.tar.xz |
rcu-tasks: Move #ifdef into tasks.h
This commit pushes the #ifdef CONFIG_TASKS_RCU_GENERIC from
kernel/rcu/update.c to kernel/rcu/tasks.h in order to improve
readability as more APIs are added.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/update.c')
-rw-r--r-- | kernel/rcu/update.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c index 30dce20e1644..c5799349ff31 100644 --- a/kernel/rcu/update.c +++ b/kernel/rcu/update.c @@ -584,11 +584,7 @@ late_initcall(rcu_verify_early_boot_tests); void rcu_early_boot_tests(void) {} #endif /* CONFIG_PROVE_RCU */ -#ifdef CONFIG_TASKS_RCU_GENERIC #include "tasks.h" -#else /* #ifdef CONFIG_TASKS_RCU_GENERIC */ -static inline void rcu_tasks_bootup_oddness(void) {} -#endif /* #else #ifdef CONFIG_TASKS_RCU_GENERIC */ #ifndef CONFIG_TINY_RCU |