aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 4c06ddfea7cd..dd081987a8ec 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -664,7 +664,7 @@ void rcu_nmi_exit(void)
664 * rcu_is_watching(), the caller of __rcu_is_watching() must have at 664 * rcu_is_watching(), the caller of __rcu_is_watching() must have at
665 * least disabled preemption. 665 * least disabled preemption.
666 */ 666 */
667bool __rcu_is_watching(void) 667bool notrace __rcu_is_watching(void)
668{ 668{
669 return atomic_read(this_cpu_ptr(&rcu_dynticks.dynticks)) & 0x1; 669 return atomic_read(this_cpu_ptr(&rcu_dynticks.dynticks)) & 0x1;
670} 670}
@@ -675,7 +675,7 @@ bool __rcu_is_watching(void)
675 * If the current CPU is in its idle loop and is neither in an interrupt 675 * If the current CPU is in its idle loop and is neither in an interrupt
676 * or NMI handler, return true. 676 * or NMI handler, return true.
677 */ 677 */
678bool rcu_is_watching(void) 678bool notrace rcu_is_watching(void)
679{ 679{
680 int ret; 680 int ret;
681 681