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 <[email protected]> Cc: Andrew Morton <[email protected]> Cc: David S. Miller <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
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)