|
@@ -1319,7 +1319,7 @@ static int rcu_gp_init(struct rcu_state *rsp)
|
|
|
rnp->grphi, rnp->qsmask);
|
|
|
raw_spin_unlock_irq(&rnp->lock);
|
|
|
#ifdef CONFIG_PROVE_RCU_DELAY
|
|
|
- if ((random32() % (rcu_num_nodes * 8)) == 0)
|
|
|
+ if ((prandom_u32() % (rcu_num_nodes * 8)) == 0)
|
|
|
schedule_timeout_uninterruptible(2);
|
|
|
#endif /* #ifdef CONFIG_PROVE_RCU_DELAY */
|
|
|
cond_resched();
|