On 4/10/26 14:21, Thomas Gleixner wrote:
The only remaining non-architecture usage of get_cycles() is to provide
random_get_entropy().

Switch parisc over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY
and providing random_get_entropy() in asm/random.h.

Add 'asm/timex.h' includes to the relevant files, so the global include can
be removed once all architectures are converted over.

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

Reply via email to