diff options
Diffstat (limited to 'include/linux/rcutiny.h')
-rw-r--r-- | include/linux/rcutiny.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h index ff968b7af3a4..4c1aaf9cce7b 100644 --- a/include/linux/rcutiny.h +++ b/include/linux/rcutiny.h | |||
@@ -83,7 +83,7 @@ static inline void synchronize_sched_expedited(void) | |||
83 | } | 83 | } |
84 | 84 | ||
85 | static inline void kfree_call_rcu(struct rcu_head *head, | 85 | static inline void kfree_call_rcu(struct rcu_head *head, |
86 | void (*func)(struct rcu_head *rcu)) | 86 | rcu_callback_t func) |
87 | { | 87 | { |
88 | call_rcu(head, func); | 88 | call_rcu(head, func); |
89 | } | 89 | } |
@@ -216,6 +216,7 @@ static inline bool rcu_is_watching(void) | |||
216 | 216 | ||
217 | static inline void rcu_all_qs(void) | 217 | static inline void rcu_all_qs(void) |
218 | { | 218 | { |
219 | barrier(); /* Avoid RCU read-side critical sections leaking across. */ | ||
219 | } | 220 | } |
220 | 221 | ||
221 | #endif /* __LINUX_RCUTINY_H */ | 222 | #endif /* __LINUX_RCUTINY_H */ |