|
@@ -293,4 +293,30 @@ static inline void rcu_init_levelspread(int *levelspread, const int *levelcnt)
|
|
|
|
|
|
#endif /* #if defined(SRCU) || !defined(TINY_RCU) */
|
|
|
|
|
|
+#ifdef CONFIG_TINY_RCU
|
|
|
+/* Tiny RCU doesn't expedite, as its purpose in life is instead to be tiny. */
|
|
|
+static inline bool rcu_gp_is_normal(void) /* Internal RCU use. */
|
|
|
+{
|
|
|
+ return true;
|
|
|
+}
|
|
|
+static inline bool rcu_gp_is_expedited(void) /* Internal RCU use. */
|
|
|
+{
|
|
|
+ return false;
|
|
|
+}
|
|
|
+
|
|
|
+static inline void rcu_expedite_gp(void)
|
|
|
+{
|
|
|
+}
|
|
|
+
|
|
|
+static inline void rcu_unexpedite_gp(void)
|
|
|
+{
|
|
|
+}
|
|
|
+#else /* #ifdef CONFIG_TINY_RCU */
|
|
|
+bool rcu_gp_is_normal(void); /* Internal RCU use. */
|
|
|
+bool rcu_gp_is_expedited(void); /* Internal RCU use. */
|
|
|
+void rcu_expedite_gp(void);
|
|
|
+void rcu_unexpedite_gp(void);
|
|
|
+void rcupdate_announce_bootup_oddness(void);
|
|
|
+#endif /* #else #ifdef CONFIG_TINY_RCU */
|
|
|
+
|
|
|
#endif /* __LINUX_RCU_H */
|