xref: /linux/arch/loongarch/vdso/vgetrandom.c (revision 9d8a2b033db179bef9b6b5bad492f611a0fe89b7)
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