Skip to content
Commit 23ae0c17 authored by Richard Henderson's avatar Richard Henderson Committed by Theodore Ts'o
Browse files

random: Make RANDOM_TRUST_CPU depend on ARCH_RANDOM



Listing the set of host architectures does not scale.
Depend instead on the existence of the architecture rng.

This will allow RANDOM_TRUST_CPU to be selected on arm64. Today
ARCH_RANDOM is only selected by x86, s390, and powerpc, so this does not
adversely affect other architectures.

Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200210130015.17664-5-mark.rutland@arm.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent ead5084c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment