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

lib/test_parman: 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>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

authored by

Uros Bizjak and committed by
Jason A. Donenfeld
1da74f90 2e2fe471

+1 -1
+1 -1
lib/test_parman.c
··· 39 39 #include <linux/slab.h> 40 40 #include <linux/bitops.h> 41 41 #include <linux/err.h> 42 - #include <linux/random.h> 42 + #include <linux/prandom.h> 43 43 #include <linux/parman.h> 44 44 45 45 #define TEST_PARMAN_PRIO_SHIFT 7 /* defines number of prios for testing */