LinuxKPI: Add get_random_u32 function.

This patch is part of D19565

Reviewed by:	hps
Approved by:	imp (mentor), hps
MFC after:	1 week
This commit is contained in:
Johannes Lundberg 2019-05-15 17:32:00 +00:00
parent 3137d2d4ec
commit d109700cf0

View File

@ -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)
{