On 17.11.2023 13:24, Oleksii Kurochko wrote: > <asm/random.h> is common for Arm, PPC and RISC-V thereby it > is moved to asm-generic. > > Signed-off-by: Oleksii Kurochko <oleksii.kuroc...@gmail.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com> with ... > --- /dev/null > +++ b/xen/include/asm-generic/random.h > @@ -0,0 +1,20 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +#ifndef __ASM_GENERIC_RANDOM_H__ > +#define __ASM_GENERIC_RANDOM_H__ > + > +static inline unsigned int arch_get_random(void) > +{ > + return 0; > +} > + > +#endif /* __ASM_GENERIC_RANDOM_H__ */ > + > + > +/* ... the double blank lines above here shrunk to a single one. Can likely be done while committing. Jan