maple_tree: should get pivots boundary by type
[platform/kernel/linux-starfive.git] / lib / test_vmalloc.c
index a26bbbf..cf77805 100644 (file)
@@ -80,7 +80,7 @@ static int random_size_align_alloc_test(void)
        int i;
 
        for (i = 0; i < test_loop_count; i++) {
-               rnd = prandom_u32();
+               rnd = get_random_u8();
 
                /*
                 * Maximum 1024 pages, if PAGE_SIZE is 4096.