Merge tag 'arm64-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas...
[deliverable/linux.git] / kernel / rcutree.c
index 2d5f94c1c7fb01783bb49cbde52ad98c8b74386e..d8534308fd052f9a9446929f170a4ceb9d6e30b1 100644 (file)
@@ -1441,7 +1441,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 &&
                    system_state == SYSTEM_RUNNING)
                        schedule_timeout_uninterruptible(2);
 #endif /* #ifdef CONFIG_PROVE_RCU_DELAY */
This page took 0.035808 seconds and 5 git commands to generate.