]> Git Repo - J-linux.git/blobdiff - include/linux/rcupdate.h
Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev...
[J-linux.git] / include / linux / rcupdate.h
index 8822f06e4b40c363c21a3040b40e7a873a59c11a..03abf883a281b7f83020334638a13d66902294b8 100644 (file)
@@ -108,6 +108,15 @@ static inline int rcu_preempt_depth(void)
 
 #endif /* #else #ifdef CONFIG_PREEMPT_RCU */
 
+#ifdef CONFIG_RCU_LAZY
+void call_rcu_hurry(struct rcu_head *head, rcu_callback_t func);
+#else
+static inline void call_rcu_hurry(struct rcu_head *head, rcu_callback_t func)
+{
+       call_rcu(head, func);
+}
+#endif
+
 /* Internal to kernel */
 void rcu_init(void);
 extern int rcu_scheduler_active;
@@ -352,6 +361,11 @@ static inline int rcu_read_lock_any_held(void)
        return !preemptible();
 }
 
+static inline int debug_lockdep_rcu_enabled(void)
+{
+       return 0;
+}
+
 #endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */
 
 #ifdef CONFIG_PROVE_RCU
This page took 0.033068 seconds and 4 git commands to generate.