Re: [patch 31/38] parisc: Select ARCH_HAS_RANDOM_ENTROPY
Helge Deller <[email protected]> Tue, 14 Apr 2026 14:41:52 +0200
| Newsgroups | gmane.linux.ports.parisc,gmane.linux.kernel,gmane.linux.network,gmane.linux.kernel.wireless.general,gmane.linux.kernel.cryptoapi,gmane.linux.kernel.mm,gmane.comp.file-systems.ext4,gmane.linux.hams,gmane.linux.ports.alpha,gmane.linux.ports.arm.kernel,gmane.linux.ports.ppc64.devel,gmane.linux.ports.riscv,gmane.linux.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
On 4/10/26 14:21, Thomas Gleixner wrote: > The only remaining non-architecture usage of get_cycles() is to provide > random_get_entropy(). >=20 > Switch parisc over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROP= Y > and providing random_get_entropy() in asm/random.h. >=20 > Add 'asm/timex.h' includes to the relevant files, so the global include = can > be removed once all architectures are converted over. >=20 > Signed-off-by: Thomas Gleixner <[email protected]> > Cc: Helge Deller <[email protected]> > Cc: [email protected] > --- > arch/parisc/Kconfig | 1 + > arch/parisc/include/asm/random.h | 12 ++++++++++++ > arch/parisc/include/asm/timex.h | 6 ------ > arch/parisc/kernel/processor.c | 1 + > arch/parisc/kernel/time.c | 1 + > 5 files changed, 15 insertions(+), 6 deletions(-) I tested this series on parisc. Works as expected. Tested-by: Helge Deller <[email protected]> Thanks! Helge