diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-10-10 04:21:03 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-10-14 09:35:50 -0400 |
commit | ca1b82ba0888e742a7efdb89ed8e2aab453e091f (patch) | |
tree | e1843a0970f438e96183872550611943f074357d /arch/s390 | |
parent | 80f506918fdaaca6b574ba931536a58ce015c7be (diff) |
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>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/crypto/prng.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/crypto/prng.c b/arch/s390/crypto/prng.c index b49c00ce65e9..a3209906739e 100644 --- a/arch/s390/crypto/prng.c +++ b/arch/s390/crypto/prng.c | |||
@@ -6,7 +6,6 @@ | |||
6 | #include <linux/fs.h> | 6 | #include <linux/fs.h> |
7 | #include <linux/init.h> | 7 | #include <linux/init.h> |
8 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
9 | #include <linux/smp_lock.h> | ||
10 | #include <linux/miscdevice.h> | 9 | #include <linux/miscdevice.h> |
11 | #include <linux/module.h> | 10 | #include <linux/module.h> |
12 | #include <linux/moduleparam.h> | 11 | #include <linux/moduleparam.h> |
@@ -49,7 +48,6 @@ static unsigned char parm_block[32] = { | |||
49 | 48 | ||
50 | static int prng_open(struct inode *inode, struct file *file) | 49 | static int prng_open(struct inode *inode, struct file *file) |
51 | { | 50 | { |
52 | cycle_kernel_lock(); | ||
53 | return nonseekable_open(inode, file); | 51 | return nonseekable_open(inode, file); |
54 | } | 52 | } |
55 | 53 | ||