rcu: Allow boot-time use of cond_resched_rcu_qs()

The cond_resched_rcu_qs() macro is used to force RCU quiescent states into
long-running in-kernel loops.  However, some of these loops can execute
during early boot when interrupts are disabled, and during which time
it is therefore illegal to enter the scheduler.  This commit therefore
makes cond_resched_rcu_qs() be a no-op during early boot.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
1 file changed