mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-01 23:53:16 -04:00
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>
This commit is contained in:
parent
6feb57c2fd
commit
6bb20c152b
6 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue