]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
random: use for_each_online_node() to iterate over NUMA nodes
authorTheodore Ts'o <tytso@mit.edu>
Thu, 28 Jul 2016 03:30:25 +0000 (23:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Jul 2016 03:30:25 +0000 (23:30 -0400)
commit59b8d4f1f5d26e4ca92172ff6dcd1492cdb39613
tree946cb48bfa761f7d30ff0f99f5fcb9e158d9362f
parent86a574de4590ffe6fd3f3ca34cdcf655a78e36ec
random: use for_each_online_node() to iterate over NUMA nodes

This fixes a crash on s390 with fake NUMA enabled.

Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Fixes: 1e7f583af67b ("random: make /dev/urandom scalable for silly userspace programs")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
drivers/char/random.c