xref: /linux/arch/loongarch/vdso/vgetrandom.c (revision 566ab427f827b0256d3e8ce0235d088e6a9c28bd)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2024 Xi Ruoyao <xry111@xry111.site>. All Rights Reserved.
4  */
5 #include <linux/types.h>
6 
7 ssize_t __vdso_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, size_t opaque_len)
8 {
9 	return __cvdso_getrandom(buffer, len, flags, opaque_state, opaque_len);
10 }
11