summaryrefslogtreecommitdiffstats
path: root/lib/test_parman.c
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2024-09-30 14:33:26 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2024-10-03 18:20:27 +0200
commit1da74f9050a14b6e7f22e6f4d60bf62e517970cd (patch)
tree2d8ff69561939a544816285961439e09dbae3a22 /lib/test_parman.c
parentbpf/tests: Include <linux/prandom.h> instead of <linux/random.h> (diff)
downloadlinux-1da74f9050a14b6e7f22e6f4d60bf62e517970cd.tar.xz
linux-1da74f9050a14b6e7f22e6f4d60bf62e517970cd.zip
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>
Diffstat (limited to 'lib/test_parman.c')
-rw-r--r--lib/test_parman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_parman.c b/lib/test_parman.c
index 35e32243693c..f9b97426a337 100644
--- a/lib/test_parman.c
+++ b/lib/test_parman.c
@@ -39,7 +39,7 @@
#include <linux/slab.h>
#include <linux/bitops.h>
#include <linux/err.h>
-#include <linux/random.h>
+#include <linux/prandom.h>
#include <linux/parman.h>
#define TEST_PARMAN_PRIO_SHIFT 7 /* defines number of prios for testing */