diff options
Diffstat (limited to 'include/linux/rcutiny.h')
-rw-r--r-- | include/linux/rcutiny.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/rcutiny.h b/include/linux/rcutiny.h index a3b6272af2dd..c4ba9a78721e 100644 --- a/include/linux/rcutiny.h +++ b/include/linux/rcutiny.h | |||
@@ -39,6 +39,11 @@ void rcu_bh_qs(int cpu); | |||
39 | #define rcu_init_sched() do { } while (0) | 39 | #define rcu_init_sched() do { } while (0) |
40 | extern void rcu_check_callbacks(int cpu, int user); | 40 | extern void rcu_check_callbacks(int cpu, int user); |
41 | 41 | ||
42 | static inline int rcu_needs_cpu(int cpu) | ||
43 | { | ||
44 | return 0; | ||
45 | } | ||
46 | |||
42 | /* | 47 | /* |
43 | * Return the number of grace periods. | 48 | * Return the number of grace periods. |
44 | */ | 49 | */ |
@@ -57,6 +62,8 @@ static inline long rcu_batches_completed_bh(void) | |||
57 | 62 | ||
58 | extern int rcu_expedited_torture_stats(char *page); | 63 | extern int rcu_expedited_torture_stats(char *page); |
59 | 64 | ||
65 | #define synchronize_rcu synchronize_sched | ||
66 | |||
60 | static inline void synchronize_rcu_expedited(void) | 67 | static inline void synchronize_rcu_expedited(void) |
61 | { | 68 | { |
62 | synchronize_sched(); | 69 | synchronize_sched(); |
@@ -86,6 +93,10 @@ static inline void rcu_exit_nohz(void) | |||
86 | 93 | ||
87 | #endif /* #else #ifdef CONFIG_NO_HZ */ | 94 | #endif /* #else #ifdef CONFIG_NO_HZ */ |
88 | 95 | ||
96 | static inline void rcu_scheduler_starting(void) | ||
97 | { | ||
98 | } | ||
99 | |||
89 | static inline void exit_rcu(void) | 100 | static inline void exit_rcu(void) |
90 | { | 101 | { |
91 | } | 102 | } |