diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-12-21 20:17:16 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-01-07 01:47:55 +0100 |
commit | f759081e8f5ac640df1c7125540759bbcb4eb0e2 (patch) | |
tree | 5c526e4459a4267d47965586718a8f7be53f36be /kernel/time | |
parent | rcu/nocb: Add nocb CB kthread list to show_rcu_nocb_state() output (diff) | |
download | linux-f759081e8f5ac640df1c7125540759bbcb4eb0e2.tar.xz linux-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')
-rw-r--r-- | kernel/time/timer.c | 1 |
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; } |