xref: /linux/arch/powerpc/include/asm/archrandom.h (revision 6c8c1406)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_ARCHRANDOM_H
3 #define _ASM_POWERPC_ARCHRANDOM_H
4 
5 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs)
6 {
7 	return 0;
8 }
9 
10 size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs);
11 
12 #ifdef CONFIG_PPC_POWERNV
13 int pnv_get_random_long(unsigned long *v);
14 #endif
15 
16 #endif /* _ASM_POWERPC_ARCHRANDOM_H */
17