aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/timer.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-12-21 11:17:16 -0800
committerPaul E. McKenney <paulmck@kernel.org>2021-01-06 16:47:55 -0800
commitf759081e8f5ac640df1c7125540759bbcb4eb0e2 (patch)
tree5c526e4459a4267d47965586718a8f7be53f36be /kernel/time/timer.c
parentrcu/nocb: Add nocb CB kthread list to show_rcu_nocb_state() output (diff)
downloadlinux-dev-f759081e8f5ac640df1c7125540759bbcb4eb0e2.tar.xz
linux-dev-f759081e8f5ac640df1c7125540759bbcb4eb0e2.zip
rcu/nocb: Code-style nits in callback-offloading toggling
This commit addresses a few code-style nits in callback-offloading toggling, including one that predates this toggling. Cc: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/time/timer.c')
-rw-r--r--kernel/time/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index f9b2096456e5..f475f1a027c8 100644
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -1243,6 +1243,7 @@ bool timer_curr_running(struct timer_list *timer)
for (i = 0; i < NR_BASES; i++) {
struct timer_base *base = this_cpu_ptr(&timer_bases[i]);
+
if (base->running_timer == timer)
return true;
}