Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 May 2019 04:42:23 +0000 (21:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 May 2019 04:42:23 +0000 (21:42 -0700)
commitdd5001e21a991b731d659857cd07acc7a13e6789
tree42dd4fa7386242e4d728307519dbc6d9435c3575
parenta9fbcd6728837268784439ad0b02ede2c024c516
parentb7d5dc21072cda7124d13eae2aefb7343ef94197
Merge tag 'random_for_linus' of git://git./linux/kernel/git/tytso/random

Pull randomness updates from Ted Ts'o:

 - initialize the random driver earler

 - fix CRNG initialization when we trust the CPU's RNG on NUMA systems

 - other miscellaneous cleanups and fixes.

* tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
  random: add a spinlock_t to struct batched_entropy
  random: document get_random_int() family
  random: fix CRNG initialization when random.trust_cpu=1
  random: move rand_initialize() earlier
  random: only read from /dev/random after its pool has received 128 bits
  drivers/char/random.c: make primary_crng static
  drivers/char/random.c: remove unused stuct poolinfo::poolbits
  drivers/char/random.c: constify poolinfo_table
init/main.c