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

crypto-prng: BKL pushdown

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent b05c9e6c
......@@ -6,6 +6,7 @@
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/smp_lock.h>
#include <linux/miscdevice.h>
#include <linux/module.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)
{
cycle_kernel_lock();
return nonseekable_open(inode, file);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment