]> git.itanic.dy.fi Git - linux-stable/commit
random: add back async readiness notifier
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 16 Nov 2022 16:16:37 +0000 (17:16 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 22 Nov 2022 13:53:00 +0000 (14:53 +0100)
commitbbc7e1bed1f5297581325e739f0e47f650a386fa
tree02a475455bdab1b66c57036bedaa9ef4262233b1
parent9148de3196edcba4045cfe717c8e6819fa5adeaf
random: add back async readiness notifier

This is required by vsprint, because it can't do things synchronously
from hardirq context, and it will be useful for an EFI notifier as well.
I didn't initially want to do this, but with two potential consumers
now, it seems worth it.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/char/random.c
include/linux/random.h