Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / powerpc / kernel / vdso / vgetrandom.c
blobcc79b960a5413bb71e5c6c0b6a9d2ff3f7f869f8
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Powerpc userspace implementation of getrandom()
5 * Copyright (C) 2024 Christophe Leroy <christophe.leroy@csgroup.eu>, CS GROUP France
6 */
7 #include <linux/time.h>
8 #include <linux/types.h>
10 ssize_t __c_kernel_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state,
11 size_t opaque_len)
13 return __cvdso_getrandom(buffer, len, flags, opaque_state, opaque_len);