commit | 74a44bed8d93782affb707a33469bda7052b4207 | [log] [tgz] |
---|---|---|
author | Robin Murphy <robin.murphy@arm.com> | Mon Feb 10 19:21:01 2020 +0000 |
committer | Will Deacon <will@kernel.org> | Tue Feb 11 09:47:01 2020 +0000 |
tree | 03d9a92f1441c0c9083929a0bb1865007c967ff4 | |
parent | 0ca2c0319a7bce0e152b51b866979d62dc261e48 [diff] |
arm64: Fix CONFIG_ARCH_RANDOM=n build The entire asm/archrandom.h header is generically included via linux/archrandom.h only when CONFIG_ARCH_RANDOM is already set, so the stub definitions of __arm64_rndr() and __early_cpu_has_rndr() are only visible to KASLR if it explicitly includes the arch-internal header. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Will Deacon <will@kernel.org>