diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-08-21 03:45:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-21 03:45:19 -0400 |
commit | 94edf6f3c20c9c8ee301bde04150a91bab4bf32c (patch) | |
tree | 4a2af658258cf42fde24c1224e44c3e6a18c2792 /include/linux/rcutiny.h | |
parent | d5da6457bfadf64ff78f1816ae8329dbbba19513 (diff) | |
parent | 656e7c0c0a2e8d899f87fd7f081ea7a711146604 (diff) |
Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu
Pull RCU updates from Paul E. McKenney:
- Removal of spin_unlock_wait()
- SRCU updates
- Torture-test updates
- Documentation updates
- Miscellaneous fixes
- CPU-hotplug fixes
- Miscellaneous non-RCU fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/rcutiny.h')
-rw-r--r-- | include/linux/rcutiny.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h index 5becbbccb998..b3dbf9502fd0 100644 --- a/include/linux/rcutiny.h +++ b/include/linux/rcutiny.h | |||
@@ -116,13 +116,11 @@ static inline void rcu_irq_exit_irqson(void) { } | |||
116 | static inline void rcu_irq_enter_irqson(void) { } | 116 | static inline void rcu_irq_enter_irqson(void) { } |
117 | static inline void rcu_irq_exit(void) { } | 117 | static inline void rcu_irq_exit(void) { } |
118 | static inline void exit_rcu(void) { } | 118 | static inline void exit_rcu(void) { } |
119 | 119 | #ifdef CONFIG_SRCU | |
120 | #if defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_SRCU) | ||
121 | extern int rcu_scheduler_active __read_mostly; | ||
122 | void rcu_scheduler_starting(void); | 120 | void rcu_scheduler_starting(void); |
123 | #else /* #if defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_SRCU) */ | 121 | #else /* #ifndef CONFIG_SRCU */ |
124 | static inline void rcu_scheduler_starting(void) { } | 122 | static inline void rcu_scheduler_starting(void) { } |
125 | #endif /* #else #if defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_SRCU) */ | 123 | #endif /* #else #ifndef CONFIG_SRCU */ |
126 | static inline void rcu_end_inkernel_boot(void) { } | 124 | static inline void rcu_end_inkernel_boot(void) { } |
127 | static inline bool rcu_is_watching(void) { return true; } | 125 | static inline bool rcu_is_watching(void) { return true; } |
128 | 126 | ||