summaryrefslogtreecommitdiff
path: root/include/linux/context_tracking_state.h
diff options
context:
space:
mode:
authorValentin Schneider <vschneid@redhat.com>2024-04-16 15:49:13 +0300
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>2024-08-11 08:43:10 +0300
commit2ef2890b7a94fbbfa8fdf0a90499ae1df476b8e8 (patch)
tree0eab319ae14bc6901b625e1f766acf4fd2749ec7 /include/linux/context_tracking_state.h
parent8375cb260d7e43610934af63748d1a51201449f8 (diff)
downloadlinux-2ef2890b7a94fbbfa8fdf0a90499ae1df476b8e8.tar.xz
context_tracking, rcu: Rename ct_dynticks_nmi_nesting_cpu() into ct_nmi_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/context_tracking_state.h')
-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 8f32fe599c5c..34fd504e53a8 100644
--- a/include/linux/context_tracking_state.h
+++ b/include/linux/context_tracking_state.h
@@ -92,7 +92,7 @@ static __always_inline long ct_nmi_nesting(void)
return __this_cpu_read(context_tracking.nmi_nesting);
}
-static __always_inline long ct_dynticks_nmi_nesting_cpu(int cpu)
+static __always_inline long ct_nmi_nesting_cpu(int cpu)
{
struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu);