summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2024-09-30 14:33:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2024-10-03 18:20:12 +0200
commitd46150d6fd1068e39e47a0c6e1f437ea71d83928 (patch)
treef25de55a87cfe73b3ca1c8f6ab2f984de7e7867c /lib
parentbpf: Include <linux/prandom.h> instead of <linux/random.h> (diff)
downloadlinux-d46150d6fd1068e39e47a0c6e1f437ea71d83928.tar.xz
linux-d46150d6fd1068e39e47a0c6e1f437ea71d83928.zip
lib/interval_tree_test.c: 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>
Diffstat (limited to 'lib')
-rw-r--r--lib/interval_tree_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/interval_tree_test.c b/lib/interval_tree_test.c
index f37f4d44faa9..837064b83a6c 100644
--- a/lib/interval_tree_test.c
+++ b/lib/interval_tree_test.c
@@ -2,7 +2,7 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/interval_tree.h>
-#include <linux/random.h>
+#include <linux/prandom.h>
#include <linux/slab.h>
#include <asm/timex.h>