mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
rcu-tasks: Refactor RCU-tasks to allow variants to be added
This commit splits out generic processing from RCU-tasks-specific processing in order to allow additional flavors to be added. It also adds a def_bool TASKS_RCU_GENERIC to enable the common RCU-tasks infrastructure code. This is primarily, but not entirely, a code-movement commit. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
9cf8fc6fab
commit
5873b8a94e
4 changed files with 303 additions and 270 deletions
|
@ -584,7 +584,11 @@ 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue