Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762012AbZJJPi7 (ORCPT ); Sat, 10 Oct 2009 11:38:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761960AbZJJPiy (ORCPT ); Sat, 10 Oct 2009 11:38:54 -0400 Received: from www.tglx.de ([62.245.132.106]:55604 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761994AbZJJPiu (ORCPT ); Sat, 10 Oct 2009 11:38:50 -0400 Message-Id: <20091010153349.884891604@linutronix.de> User-Agent: quilt/0.47-1 Date: Sat, 10 Oct 2009 15:36:59 -0000 From: Thomas Gleixner To: LKML Cc: Andrew Morton , Ingo Molnar , Peter Zijlstra , Frederic Weisbecker , Vincent Sanders , John Kacur , Jonathan Corbet , Christoph Hellwig , Geert Uytterhoeven , Dmitry Torokhov Subject: [patch 20/28] input: Remove BKL from hp_sdc_rtc References: <20091010153314.827301943@linutronix.de> Content-Disposition: inline; filename=hp-sdc-rtc-remove-bkl.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1224 Lines: 38 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: Geert Uytterhoeven Cc: Dmitry Torokhov --- drivers/input/misc/hp_sdc_rtc.c | 2 -- 1 file changed, 2 deletions(-) Index: linux-2.6-tip/drivers/input/misc/hp_sdc_rtc.c =================================================================== --- linux-2.6-tip.orig/drivers/input/misc/hp_sdc_rtc.c +++ linux-2.6-tip/drivers/input/misc/hp_sdc_rtc.c @@ -35,7 +35,6 @@ #include #include -#include #include #include #include @@ -409,7 +408,6 @@ static unsigned int hp_sdc_rtc_poll(stru static int hp_sdc_rtc_open(struct inode *inode, struct file *file) { - cycle_kernel_lock(); return 0; } -- 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/