Skip to content

Commit baacb8b

Browse files
ubizjakzx2c4
authored andcommitted
random32: 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: David S. Miller <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
1 parent 9127ad4 commit baacb8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/random32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include <linux/percpu.h>
3737
#include <linux/export.h>
3838
#include <linux/jiffies.h>
39-
#include <linux/random.h>
39+
#include <linux/prandom.h>
4040
#include <linux/sched.h>
4141
#include <linux/bitops.h>
4242
#include <linux/slab.h>

0 commit comments

Comments
 (0)