[patch 23/38] alpha: Select ARCH_HAS_RANDOM_ENTROPY

Magnus Lindholm linmag7 at gmail.com
Sun Apr 12 23:22:51 AEST 2026


On Fri, Apr 10, 2026 at 2:36 PM Thomas Gleixner <tglx at kernel.org> wrote:
>
> The only remaining usage of get_cycles() is to provide
> random_get_entropy().
>
> Switch alpha over to the new scheme of selecting ARCH_HAS_RANDOM_ENTROPY
> and providing random_get_entropy() in asm/random.h.
>
> Remove asm/timex.h as it has no functionality anymore.
>
> Signed-off-by: Thomas Gleixner <tglx at kernel.org>
> Cc: Richard Henderson <richard.henderson at linaro.org>
> Cc: linux-alpha at vger.kernel.org
> ---
>  arch/alpha/Kconfig              |    1 +
>  arch/alpha/include/asm/random.h |   14 ++++++++++++++
>  arch/alpha/include/asm/timex.h  |   26 --------------------------
>  3 files changed, 15 insertions(+), 26 deletions(-)

Hi,

The Alpha side looks fine to me.

I've applied this patch on top of v7.0-rc7, built a kernel successfully,
boot-tested it on an Alpha UP2000+ (SMP) without issues.

Acked-by: Magnus Lindholm <linmag7 at gmail.com>
Tested-by: Magnus Lindholm <linmag7 at gmail.com>


More information about the Linuxppc-dev mailing list