svn commit: r347621 - head/sys/compat/linuxkpi/common/include/linux
Johannes Lundberg
johalun at FreeBSD.org
Wed May 15 17:32:01 UTC 2019
Author: johalun
Date: Wed May 15 17:32:00 2019
New Revision: 347621
URL: https://svnweb.freebsd.org/changeset/base/347621
Log:
LinuxKPI: Add get_random_u32 function.
This patch is part of D19565
Reviewed by: hps
Approved by: imp (mentor), hps
MFC after: 1 week
Modified:
head/sys/compat/linuxkpi/common/include/linux/random.h
Modified: head/sys/compat/linuxkpi/common/include/linux/random.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/random.h Wed May 15 17:04:12 2019 (r347620)
+++ head/sys/compat/linuxkpi/common/include/linux/random.h Wed May 15 17:32:00 2019 (r347621)
@@ -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-head
mailing list