diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-10-29 02:42:02 +0300 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-12-20 05:13:45 +0300 |
commit | 6bb20c152b6bf7dd8ffb248f33c2593fd9aeb318 (patch) | |
tree | 8badcd94cc1d7fa1f78176f64bf6c04e4200a5e8 /include | |
parent | 6feb57c2fd7c787aecf2846a535248899e7b70fa (diff) | |
download | linux-6bb20c152b6bf7dd8ffb248f33c2593fd9aeb318.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/random.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/random.h b/include/linux/random.h index 4a2a1de423cd..b0a940af4fff 100644 --- a/include/linux/random.h +++ b/include/linux/random.h @@ -152,8 +152,6 @@ declare_get_random_var_wait(long, unsigned long) */ #include <linux/prandom.h> -#include <asm/archrandom.h> - #ifdef CONFIG_SMP int random_prepare_cpu(unsigned int cpu); int random_online_cpu(unsigned int cpu); |