diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2020-12-21 11:17:16 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-01-06 16:47:55 -0800 |
commit | f759081e8f5ac640df1c7125540759bbcb4eb0e2 (patch) | |
tree | 5c526e4459a4267d47965586718a8f7be53f36be /kernel/time/timer.c | |
parent | 3d0cef50f32e2bc69f60909584c18623bba9a6c6 (diff) | |
download | lwn-f759081e8f5ac640df1c7125540759bbcb4eb0e2.tar.gz lwn-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.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; } |