]> git.itanic.dy.fi Git - linux-stable/commit
random: do not include <asm/archrandom.h> from random.h
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 28 Oct 2022 23:42:02 +0000 (01:42 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 20 Dec 2022 02:13:45 +0000 (03:13 +0100)
commit6bb20c152b6bf7dd8ffb248f33c2593fd9aeb318
tree8badcd94cc1d7fa1f78176f64bf6c04e4200a5e8
parent6feb57c2fd7c787aecf2846a535248899e7b70fa
random: do not include <asm/archrandom.h> from random.h

The <asm/archrandom.h> header is a random.c private detail, not
something to be called by other code. As such, don't make it
automatically available by way of random.h.

Cc: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
arch/powerpc/kernel/setup-common.c
arch/s390/kernel/setup.c
drivers/char/hw_random/powernv-rng.c
drivers/char/hw_random/s390-trng.c
drivers/char/random.c
include/linux/random.h