Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2019 17:32:00 +0000 (UTC)
From:      Johannes Lundberg <johalun@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347621 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201905151732.x4FHW0rI042356@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905151732.x4FHW0rI042356>