Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1251129

[PATCH] rcu: remove rcu_user_hooks_switch

From Yang Shi <yang.shi@linaro.org>
Newsgroups linux.kernel
Subject [PATCH] rcu: remove rcu_user_hooks_switch
Date 2015-10-20 00:10 +0200
Message-ID <qlqMW-R1-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


It is not invoked by anyone now, just remove it.

Signed-off-by: Yang Shi <yang.shi@linaro.org>
---
 include/linux/rcupdate.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 581abf8..56355bc 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -345,8 +345,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
-- 
2.0.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] rcu: remove rcu_user_hooks_switch Yang Shi <yang.shi@linaro.org> - 2015-10-20 00:10 +0200
  Re: [PATCH] rcu: remove rcu_user_hooks_switch "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-10-20 01:00 +0200
    Re: [PATCH] rcu: remove rcu_user_hooks_switch Frederic Weisbecker <fweisbec@gmail.com> - 2015-10-20 01:50 +0200
      Re: [PATCH] rcu: remove rcu_user_hooks_switch "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-10-20 22:40 +0200

csiph-web