diff options
Diffstat (limited to 'include/linux/rcutree.h')
| -rw-r--r-- | include/linux/rcutree.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/linux/rcutree.h b/include/linux/rcutree.h index e8ee5dd0854c..3c6083cde4fc 100644 --- a/include/linux/rcutree.h +++ b/include/linux/rcutree.h | |||
| @@ -45,18 +45,6 @@ static inline void rcu_virt_note_context_switch(int cpu) | |||
| 45 | rcu_note_context_switch(cpu); | 45 | rcu_note_context_switch(cpu); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | #ifdef CONFIG_TREE_PREEMPT_RCU | ||
| 49 | |||
| 50 | extern void exit_rcu(void); | ||
| 51 | |||
| 52 | #else /* #ifdef CONFIG_TREE_PREEMPT_RCU */ | ||
| 53 | |||
| 54 | static inline void exit_rcu(void) | ||
| 55 | { | ||
| 56 | } | ||
| 57 | |||
| 58 | #endif /* #else #ifdef CONFIG_TREE_PREEMPT_RCU */ | ||
| 59 | |||
| 60 | extern void synchronize_rcu_bh(void); | 48 | extern void synchronize_rcu_bh(void); |
| 61 | extern void synchronize_sched_expedited(void); | 49 | extern void synchronize_sched_expedited(void); |
| 62 | extern void synchronize_rcu_expedited(void); | 50 | extern void synchronize_rcu_expedited(void); |
| @@ -98,13 +86,6 @@ extern void rcu_force_quiescent_state(void); | |||
| 98 | extern void rcu_bh_force_quiescent_state(void); | 86 | extern void rcu_bh_force_quiescent_state(void); |
| 99 | extern void rcu_sched_force_quiescent_state(void); | 87 | extern void rcu_sched_force_quiescent_state(void); |
| 100 | 88 | ||
| 101 | /* A context switch is a grace period for RCU-sched and RCU-bh. */ | ||
| 102 | static inline int rcu_blocking_is_gp(void) | ||
| 103 | { | ||
| 104 | might_sleep(); /* Check for RCU read-side critical section. */ | ||
| 105 | return num_online_cpus() == 1; | ||
| 106 | } | ||
| 107 | |||
| 108 | extern void rcu_scheduler_starting(void); | 89 | extern void rcu_scheduler_starting(void); |
| 109 | extern int rcu_scheduler_active __read_mostly; | 90 | extern int rcu_scheduler_active __read_mostly; |
| 110 | 91 | ||
