Skip to content

Commit bda210a

Browse files
ubizjakzx2c4
authored andcommitted
x86/kaslr: 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: Dave Hansen <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: H. Peter Anvin <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 9852d85 commit bda210a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/mm/kaslr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
#include <linux/kernel.h>
2424
#include <linux/init.h>
25-
#include <linux/random.h>
25+
#include <linux/prandom.h>
2626
#include <linux/memblock.h>
2727
#include <linux/pgtable.h>
2828

0 commit comments

Comments
 (0)