Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3500efae authored by Yang Shi's avatar Yang Shi Committed by Paul E. McKenney
Browse files

rcu: Remove rcu_user_hooks_switch



Because there are neither uses nor intended uses for the
rcu_user_hooks_switch() function that was orginally intended
for nohz use, this commit removes it.

Signed-off-by: default avatarYang Shi <yang.shi@linaro.org>
Acked-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 4b455dc3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -360,8 +360,6 @@ void rcu_user_exit(void);
#else
static inline void rcu_user_enter(void) { }
static inline void rcu_user_exit(void) { }
static inline void rcu_user_hooks_switch(struct task_struct *prev,
					 struct task_struct *next) { }
#endif /* CONFIG_NO_HZ_FULL */

#ifdef CONFIG_RCU_NOCB_CPU