Subversion Repositories Kolibri OS

Rev

Rev 5270 | Rev 6336 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5270 Rev 6082
Line 90... Line 90...
90
static inline void rcu_virt_note_context_switch(int cpu)
90
static inline void rcu_virt_note_context_switch(int cpu)
91
{
91
{
92
}
92
}
Line 93... Line 93...
93
 
93
 
94
/*
94
/*
95
 * Return the number of grace periods.
95
 * Return the number of grace periods started.
96
 */
96
 */
97
static inline long rcu_batches_completed(void)
97
static inline unsigned long rcu_batches_started(void)
98
{
98
{
99
	return 0;
99
	return 0;
Line 100... Line 100...
100
}
100
}
101
 
101
 
102
/*
102
/*
-
 
103
 * Return the number of bottom-half grace periods started.
-
 
104
 */
-
 
105
static inline unsigned long rcu_batches_started_bh(void)
-
 
106
{
-
 
107
	return 0;
-
 
108
}
-
 
109
 
-
 
110
/*
-
 
111
 * Return the number of sched grace periods started.
-
 
112
 */
-
 
113
static inline unsigned long rcu_batches_started_sched(void)
-
 
114
{
-
 
115
	return 0;
-
 
116
}
-
 
117
 
-
 
118
/*
-
 
119
 * Return the number of grace periods completed.
-
 
120
 */
-
 
121
static inline unsigned long rcu_batches_completed(void)
-
 
122
{
-
 
123
	return 0;
-
 
124
}
-
 
125
 
-
 
126
/*
103
 * Return the number of bottom-half grace periods.
127
 * Return the number of bottom-half grace periods completed.
-
 
128
 */
-
 
129
static inline unsigned long rcu_batches_completed_bh(void)
-
 
130
{
-
 
131
	return 0;
-
 
132
}
-
 
133
 
-
 
134
/*
-
 
135
 * Return the number of sched grace periods completed.
104
 */
136
 */
105
static inline long rcu_batches_completed_bh(void)
137
static inline unsigned long rcu_batches_completed_sched(void)
106
{
138
{
Line 107... Line 139...
107
	return 0;
139
	return 0;
Line 125... Line 157...
125
 
157
 
126
static inline void rcu_cpu_stall_reset(void)
158
static inline void rcu_cpu_stall_reset(void)
127
{
159
{
Line -... Line 160...
-
 
160
}
-
 
161
 
-
 
162
static inline void rcu_idle_enter(void)
-
 
163
{
-
 
164
}
-
 
165
 
-
 
166
static inline void rcu_idle_exit(void)
-
 
167
{
-
 
168
}
-
 
169
 
-
 
170
static inline void rcu_irq_enter(void)
-
 
171
{
-
 
172
}
-
 
173
 
-
 
174
static inline void rcu_irq_exit(void)
-
 
175
{
128
}
176
}
129
 
177
 
130
static inline void exit_rcu(void)
178
static inline void exit_rcu(void)
Line 131... Line 179...
131
{
179
{
Line 152... Line 200...
152
static inline bool rcu_is_watching(void)
200
static inline bool rcu_is_watching(void)
153
{
201
{
154
	return true;
202
	return true;
155
}
203
}
Line 156... Line -...
156
 
-
 
157
 
204
 
Line -... Line 205...
-
 
205
#endif /* #else defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE) */
-
 
206
 
-
 
207
static inline void rcu_all_qs(void)
-
 
208
{
158
#endif /* #else defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE) */
209
}