aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rcupdate.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r--include/linux/rcupdate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 3ebd0b7bcb08..6dd71fa48429 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -68,11 +68,17 @@ extern int sched_expedited_torture_stats(char *page);
68/* Internal to kernel */ 68/* Internal to kernel */
69extern void rcu_init(void); 69extern void rcu_init(void);
70extern void rcu_scheduler_starting(void); 70extern void rcu_scheduler_starting(void);
71#ifndef CONFIG_TINY_RCU
71extern int rcu_needs_cpu(int cpu); 72extern int rcu_needs_cpu(int cpu);
73#else
74static inline int rcu_needs_cpu(int cpu) { return 0; }
75#endif
72extern int rcu_scheduler_active; 76extern int rcu_scheduler_active;
73 77
74#if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) 78#if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU)
75#include <linux/rcutree.h> 79#include <linux/rcutree.h>
80#elif CONFIG_TINY_RCU
81#include <linux/rcutiny.h>
76#else 82#else
77#error "Unknown RCU implementation specified to kernel configuration" 83#error "Unknown RCU implementation specified to kernel configuration"
78#endif 84#endif