diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-11-05 16:03:17 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-11-05 16:03:17 -0500 |
commit | 44847da1b921f35b348ecd46df93abfbcd547355 (patch) | |
tree | 0dcc929a02b98dcf0927b9ad70083087c6d0e4ae /kernel/rcutiny.c | |
parent | ab4ead02ec235d706d0611d8741964628291237e (diff) | |
parent | 5c173eb8bcb9c1aa888bd6d14a4cb746f3dd2420 (diff) |
Merge branch 'idle.2013.09.25a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into HEAD
Need to use Paul McKenney's "rcu_is_watching()" changes to fix
a perf/ftrace bug.
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 9ed6075dc562..0fa061dfa55d 100644 --- a/kernel/rcutiny.c +++ b/kernel/rcutiny.c | |||
@@ -174,18 +174,18 @@ void rcu_irq_enter(void) | |||
174 | } | 174 | } |
175 | EXPORT_SYMBOL_GPL(rcu_irq_enter); | 175 | EXPORT_SYMBOL_GPL(rcu_irq_enter); |
176 | 176 | ||
177 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | 177 | #if defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE) |
178 | 178 | ||
179 | /* | 179 | /* |
180 | * Test whether RCU thinks that the current CPU is idle. | 180 | * Test whether RCU thinks that the current CPU is idle. |
181 | */ | 181 | */ |
182 | int rcu_is_cpu_idle(void) | 182 | bool __rcu_is_watching(void) |
183 | { | 183 | { |
184 | return !rcu_dynticks_nesting; | 184 | return rcu_dynticks_nesting; |
185 | } | 185 | } |
186 | EXPORT_SYMBOL(rcu_is_cpu_idle); | 186 | EXPORT_SYMBOL(__rcu_is_watching); |
187 | 187 | ||
188 | #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ | 188 | #endif /* defined(CONFIG_DEBUG_LOCK_ALLOC) || defined(CONFIG_RCU_TRACE) */ |
189 | 189 | ||
190 | /* | 190 | /* |
191 | * Test whether the current CPU was interrupted from idle. Nested | 191 | * Test whether the current CPU was interrupted from idle. Nested |