diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-02-10 16:00:15 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-02-28 07:21:52 +0300 |
commit | 23ae0c17b89cfeb511aa0770735a319d35597072 (patch) | |
tree | da94eefee6cbdb6316b64e530860e29bacf41fd3 /drivers/char | |
parent | ead5084cdf5af51445d219800c2ac8b01eb85f2f (diff) | |
download | linux-23ae0c17b89cfeb511aa0770735a319d35597072.tar.xz |
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: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200210130015.17664-5-mark.rutland@arm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 26956c006987..84207d5a9bb0 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -539,7 +539,7 @@ endmenu config RANDOM_TRUST_CPU bool "Trust the CPU manufacturer to initialize Linux's CRNG" - depends on X86 || S390 || PPC + depends on ARCH_RANDOM default n help Assume that CPU manufacturer (e.g., Intel or AMD for RDSEED or |