svn commit: r348089 - stable/12/sys/compat/linuxkpi/common/include/linux
Johannes Lundberg
johalun at FreeBSD.org
Wed May 22 04:10:25 UTC 2019
Author: johalun
Date: Wed May 22 04:10:24 2019
New Revision: 348089
URL: https://svnweb.freebsd.org/changeset/base/348089
Log:
MFC r347621:
LinuxKPI: Add get_random_u32 function.
This patch is part of D19565
Reviewed by: hps
Approved by: imp (mentor), hps
Modified:
stable/12/sys/compat/linuxkpi/common/include/linux/random.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/compat/linuxkpi/common/include/linux/random.h
==============================================================================
--- stable/12/sys/compat/linuxkpi/common/include/linux/random.h Wed May 22 04:08:45 2019 (r348088)
+++ stable/12/sys/compat/linuxkpi/common/include/linux/random.h Wed May 22 04:10:24 2019 (r348089)
@@ -35,6 +35,8 @@
#include <sys/random.h>
#include <sys/libkern.h>
+#define get_random_u32() get_random_int()
+
static inline void
get_random_bytes(void *buf, int nbytes)
{
More information about the svn-src-stable-12
mailing list