diff options
Diffstat (limited to 'kernel/rcutiny.c')
-rw-r--r-- | kernel/rcutiny.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c index 7e3b0d6fc6e2..312e9709713f 100644 --- a/kernel/rcutiny.c +++ b/kernel/rcutiny.c | |||
@@ -176,18 +176,18 @@ void rcu_irq_enter(void) | |||
176 | } | 176 | } |
177 | EXPORT_SYMBOL_GPL(rcu_irq_enter); | 177 | EXPORT_SYMBOL_GPL(rcu_irq_enter); |
178 | 178 | ||
179 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | 179 | #if defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE) |
180 | 180 | ||
181 | /* | 181 | /* |
182 | * Test whether RCU thinks that the current CPU is idle. | 182 | * Test whether RCU thinks that the current CPU is idle. |
183 | */ | 183 | */ |
184 | int rcu_is_cpu_idle(void) | 184 | bool __rcu_is_watching(void) |
185 | { | 185 | { |
186 | return !rcu_dynticks_nesting; | 186 | return rcu_dynticks_nesting; |
187 | } | 187 | } |
188 | EXPORT_SYMBOL(rcu_is_cpu_idle); | 188 | EXPORT_SYMBOL(__rcu_is_watching); |
189 | 189 | ||
190 | #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ | 190 | #endif /* defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE) */ |
191 | 191 | ||
192 | /* | 192 | /* |
193 | * Test whether the current CPU was interrupted from idle. Nested | 193 | * Test whether the current CPU was interrupted from idle. Nested |