summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorValentin Schneider <vschneid@redhat.com>2024-04-16 15:48:26 +0300
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>2024-08-11 08:39:22 +0300
commitbca9455da531a3c2520c28ff349d0dab4e471d28 (patch)
tree45b36b793def8c4205ff9245969f80bf167189b4 /include/linux
parent1089c0078b69bce0c2d540e3cc43470ba9e5dcfd (diff)
downloadlinux-bca9455da531a3c2520c28ff349d0dab4e471d28.tar.xz
context_tracking, rcu: Rename ct_dynticks_nesting_cpu() into ct_nesting_cpu()
The context_tracking.state RCU_DYNTICKS subvariable has been renamed to RCU_WATCHING, and the 'dynticks' prefix can be dropped without losing any meaning. Suggested-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Valentin Schneider <vschneid@redhat.com> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/context_tracking_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/context_tracking_state.h b/include/linux/context_tracking_state.h
index 586c1ff22c2e..fd42d8120ac2 100644
--- a/include/linux/context_tracking_state.h
+++ b/include/linux/context_tracking_state.h
@@ -80,7 +80,7 @@ static __always_inline long ct_nesting(void)
return __this_cpu_read(context_tracking.nesting);
}
-static __always_inline long ct_dynticks_nesting_cpu(int cpu)
+static __always_inline long ct_nesting_cpu(int cpu)
{
struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu);