Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lib/rbtree-test: Include <linux/prandom.h> instead of <linux/random.h>

Substitute the inclusion of <linux/random.h> header with
<linux/prandom.h> to allow the removal of legacy inclusion
of <linux/prandom.h> from <linux/random.h>.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

authored by

Uros Bizjak and committed by
Jason A. Donenfeld
a7e74510 baacb8b4

+1 -1
+1 -1
lib/rbtree_test.c
··· 2 2 #include <linux/module.h> 3 3 #include <linux/moduleparam.h> 4 4 #include <linux/rbtree_augmented.h> 5 - #include <linux/random.h> 5 + #include <linux/prandom.h> 6 6 #include <linux/slab.h> 7 7 #include <asm/timex.h> 8 8