Linux Audio

Check our new training course

Loading...
v6.9.4
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_POWERPC_ARCHRANDOM_H
 3#define _ASM_POWERPC_ARCHRANDOM_H
 4
 5static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs)
 6{
 7	return 0;
 8}
 9
10size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs);
11
12#ifdef CONFIG_PPC_POWERNV
13int pnv_get_random_long(unsigned long *v);
14#endif
15
16#endif /* _ASM_POWERPC_ARCHRANDOM_H */
v6.8
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_POWERPC_ARCHRANDOM_H
 3#define _ASM_POWERPC_ARCHRANDOM_H
 4
 5static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs)
 6{
 7	return 0;
 8}
 9
10size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs);
11
12#ifdef CONFIG_PPC_POWERNV
13int pnv_get_random_long(unsigned long *v);
14#endif
15
16#endif /* _ASM_POWERPC_ARCHRANDOM_H */