summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/archrandom.h
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-12-02 22:13:36 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-12-04 14:37:08 +0100
commit3e6743e28b9b43d37ced234bdf8e19955d0216f8 (patch)
treedde437087b32f8b54df5261225b19f38f39658a3 /arch/arm64/include/asm/archrandom.h
parentrandom: align entropy_timer_state to cache line (diff)
downloadlinux-3e6743e28b9b43d37ced234bdf8e19955d0216f8.tar.xz
linux-3e6743e28b9b43d37ced234bdf8e19955d0216f8.zip
random: include <linux/once.h> in the right header
<linux/prandom.h> uses DO_ONCE(), so it should include <linux/once.h> directly. In contrast, <linux/random.h> does not use code from <linux/once.h>, so it should be removed. Move the `#include <linux/once.h>` line into the right file. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Fixes: c0842fbc1b18 ("random32: move the pseudo-random 32-bit definitions to prandom.h") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'arch/arm64/include/asm/archrandom.h')
0 files changed, 0 insertions, 0 deletions