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>
This commit is contained in:
Alison Chaiken 2022-01-11 15:32:50 -08:00 • committed by Paul E. McKenney
commit c8db27dd0e