cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUG
[platform/kernel/linux-starfive.git] / lib / test_kprobes.c
index a5edc2e..eeb1d72 100644 (file)
@@ -341,7 +341,7 @@ static int kprobes_test_init(struct kunit *test)
        stacktrace_driver = kprobe_stacktrace_driver;
 
        do {
-               rand1 = prandom_u32();
+               rand1 = get_random_u32();
        } while (rand1 <= div_factor);
        return 0;
 }