diff options
Diffstat (limited to 'kernel/rcupdate.c')
-rw-r--r-- | kernel/rcupdate.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c index c5b98e565aee..92e771d7b44b 100644 --- a/kernel/rcupdate.c +++ b/kernel/rcupdate.c | |||
@@ -316,3 +316,13 @@ struct debug_obj_descr rcuhead_debug_descr = { | |||
316 | }; | 316 | }; |
317 | EXPORT_SYMBOL_GPL(rcuhead_debug_descr); | 317 | EXPORT_SYMBOL_GPL(rcuhead_debug_descr); |
318 | #endif /* #ifdef CONFIG_DEBUG_OBJECTS_RCU_HEAD */ | 318 | #endif /* #ifdef CONFIG_DEBUG_OBJECTS_RCU_HEAD */ |
319 | |||
320 | #if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) || defined(CONFIG_RCU_TRACE) | ||
321 | void do_trace_rcu_torture_read(char *rcutorturename, struct rcu_head *rhp) | ||
322 | { | ||
323 | trace_rcu_torture_read(rcutorturename, rhp); | ||
324 | } | ||
325 | EXPORT_SYMBOL_GPL(do_trace_rcu_torture_read); | ||
326 | #else | ||
327 | #define do_trace_rcu_torture_read(rcutorturename, rhp) do { } while (0) | ||
328 | #endif | ||