summaryrefslogtreecommitdiff
path: root/include/linux/rcupdate.h
diff options
context:
space:
mode:
authorYang Shi <yang.shi@linaro.org>2015-10-19 14:45:02 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-02-23 19:59:56 -0800
commit3500efae4410454522697c94c23fc40323c0cee9 (patch)
treeff89911073b80b74926b05b7a1e5ba6e1486291a /include/linux/rcupdate.h
parent4b455dc3e13064795ef2cd3415132df747e64063 (diff)
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: Yang Shi <yang.shi@linaro.org> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r--include/linux/rcupdate.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 14e6f47ee16f..b5d48bd56e3f 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -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