xref: /kernel/linux/linux-6.6/arch/powerpc/include/asm/archrandom.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/powerpc/include/asm/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _ASM_POWERPC_ARCHRANDOM_H
362306a36Sopenharmony_ci#define _ASM_POWERPC_ARCHRANDOM_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_cistatic inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs)
662306a36Sopenharmony_ci{
762306a36Sopenharmony_ci	return 0;
862306a36Sopenharmony_ci}
962306a36Sopenharmony_ci
1062306a36Sopenharmony_cisize_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs);
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#ifdef CONFIG_PPC_POWERNV
1362306a36Sopenharmony_ciint pnv_get_random_long(unsigned long *v);
1462306a36Sopenharmony_ci#endif
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#endif /* _ASM_POWERPC_ARCHRANDOM_H */
17

Indexes created Thu Nov 07 10:32:03 CST 2024