]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/kaslr: Include <linux/prandom.h> instead of <linux/random.h>
authorUros Bizjak <ubizjak@gmail.com>
Mon, 30 Sep 2024 12:33:12 +0000 (14:33 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 3 Oct 2024 16:18:59 +0000 (18:18 +0200)
commitbda210a738f1bce01db7619401035a1aae9fedca
tree651917933b6cd5dcc2256292598e8abb596e3b56
parent9852d85ec9d492ebef56dc5f229416c925758edc
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 <ubizjak@gmail.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
arch/x86/mm/kaslr.c