Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932769AbZJJPiJ (ORCPT ); Sat, 10 Oct 2009 11:38:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761971AbZJJPiI (ORCPT ); Sat, 10 Oct 2009 11:38:08 -0400 Received: from www.tglx.de ([62.245.132.106]:55464 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761972AbZJJPiG (ORCPT ); Sat, 10 Oct 2009 11:38:06 -0400 Message-Id: <20091010153349.601625576@linutronix.de> User-Agent: quilt/0.47-1 Date: Sat, 10 Oct 2009 15:36:25 -0000 From: Thomas Gleixner To: LKML Cc: Andrew Morton , Ingo Molnar , Peter Zijlstra , Frederic Weisbecker , Vincent Sanders , John Kacur , Jonathan Corbet , Christoph Hellwig , Martin Schwidefsky Subject: [patch 13/28] s390: Remove BKL from prng References: <20091010153314.827301943@linutronix.de> Content-Disposition: inline; filename=s390-remove-bkl-from-prng.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1201 Lines: 37 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 Cc: Martin Schwidefsky --- arch/s390/crypto/prng.c | 2 -- 1 file changed, 2 deletions(-) Index: linux-2.6-tip/arch/s390/crypto/prng.c =================================================================== --- linux-2.6-tip.orig/arch/s390/crypto/prng.c +++ linux-2.6-tip/arch/s390/crypto/prng.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include @@ -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); } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/