rcu: Move kthread_prio bounds-check to a separate function
authorAlison Chaiken <achaiken@aurora.tech>
Tue, 11 Jan 2022 23:32:50 +0000 (15:32 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 2 Feb 2022 01:19:02 +0000 (17:19 -0800)
commitc8db27dd0ea8071d2ea29a1a401c4ccc611ec6c1
treeb45649ea85543c4db5f076f5ef7812fec8f8b05a
parent4b4399b2450de38916718ba9947e6cdb69c99c55
rcu: Move kthread_prio bounds-check to a separate function

Move the bounds-check of the kthread_prio cmdline parameter to a new
function in order to faciliate a different callsite.

Signed-off-by: Alison Chaiken <achaiken@aurora.tech>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c