From: Arnd Bergmann Date: Tue, 20 May 2008 17:15:45 +0000 (+0200) Subject: crypto-prng: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~71 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=135fe10f9fb9fba981f60c5526e37900f52c9705;p=linux-2.6-omap-h63xx.git crypto-prng: BKL pushdown Signed-off-by: Arnd Bergmann --- diff --git a/arch/s390/crypto/prng.c b/arch/s390/crypto/prng.c index 0cfefddd837..c238ee4aa03 100644 --- a/arch/s390/crypto/prng.c +++ b/arch/s390/crypto/prng.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -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); }