Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 135fe10f authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jonathan Corbet
Browse files

crypto-prng: BKL pushdown



Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent b05c9e6c
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,7 @@
#include <linux/fs.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/smp_lock.h>
#include <linux/miscdevice.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/moduleparam.h>
@@ -48,6 +49,7 @@ static unsigned char parm_block[32] = {


static int prng_open(struct inode *inode, struct file *file)
static int prng_open(struct inode *inode, struct file *file)
{
{
	cycle_kernel_lock();
	return nonseekable_open(inode, file);
	return nonseekable_open(inode, file);
}
}