mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
s390: Remove BKL from prng
cycle_kernel_lock() was added during the big BKL pushdown. It should ensure the serializiation against driver init code. In this case there is nothing to serialize. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> LKML-Reference: <20091010153349.601625576@linutronix.de> Acked-by: Jan Glauber <jang@linux.vnet.ibm.com>
This commit is contained in:
parent
80f506918f
commit
ca1b82ba08
1 changed files with 0 additions and 2 deletions
|
@ -6,7 +6,6 @@
|
|||
#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>
|
||||
|
@ -49,7 +48,6 @@ static unsigned char parm_block[32] = {
|
|||
|
||||
static int prng_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
cycle_kernel_lock();
|
||||
return nonseekable_open(inode, file);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue